From 143953678e19d1e2ae82a1c262b806da65e75143 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 24 May 2020 12:18:30 +0200 Subject: [PATCH] Allow source-install to run as non-root user zypper si fails if not run as root. There's no reason for this requirement, in fact it kills the most obvious use case: Run rpmbuild as non-root user after source-installing it. Signed-off-by: Jan Lindemann --- src/commands/sourceinstall.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/commands/sourceinstall.cc b/src/commands/sourceinstall.cc index 2127095db3..b767bf3922 100644 --- a/src/commands/sourceinstall.cc +++ b/src/commands/sourceinstall.cc @@ -34,7 +34,6 @@ SourceInstallCmd::SourceInstallCmd(std::vector &&commandAliases_r) std::vector SourceInstallCmd::conditions() const { return { - std::make_shared(), std::make_shared() }; }