Drop fakeroot for list/search actions on Debian
It isn't needed for informative actions and apparently fakeroot cause problems on Whonix. Suggested by @awokd QubesOS/qubes-issues#3553
This commit is contained in:
parent
c567222b6f
commit
76f5253341
@ -125,7 +125,7 @@ if ! $YUM --help | grep -q downloadonly; then
|
||||
YUM_COMMAND="yumdownloader --destdir=$DOM0_UPDATES_DIR/packages --resolve"
|
||||
elif [ "$YUM_ACTION" == "list" ] || [ "$YUM_ACTION" == "search" ]; then
|
||||
# those actions do not download any package, so lack of --downloadonly is irrelevant
|
||||
YUM_COMMAND="fakeroot $YUM $YUM_ACTION -y"
|
||||
YUM_COMMAND="$YUM $YUM_ACTION -y"
|
||||
elif [ "$YUM_ACTION" == "reinstal" ]; then
|
||||
# this is just approximation of 'reinstall' action...
|
||||
# shellcheck disable=SC2086
|
||||
|
Loading…
Reference in New Issue
Block a user