Move PackageKit termination earlier in execution
This commit is contained in:
parent
30fa6406d4
commit
de452fa201
@ -109,6 +109,9 @@ if [ "${EUID}" == 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure PackageKit is not running so that it doesn't interrupt us
|
||||
sudo systemctl stop packagekit
|
||||
|
||||
# Ensure "dialog" is installed
|
||||
echo "Installing dialog utility..."
|
||||
sudo zypper --non-interactive in dialog
|
||||
@ -300,9 +303,6 @@ fi
|
||||
|
||||
echo "Setting up packages..."
|
||||
|
||||
# Kill PackageKit so that it doesn't interrupt us
|
||||
sudo systemctl stop packagekit
|
||||
|
||||
sudo zypper --non-interactive install ${PATTERNS[@]}
|
||||
if [[ "${detected_features[@]}" == *"Mobile"* ]]; then
|
||||
sudo zypper --non-interactive install patterns-desktop-mobile
|
||||
|
Loading…
Reference in New Issue
Block a user