1

Move PackageKit termination earlier in execution

This commit is contained in:
Jessie Hildebrandt 2023-06-02 15:22:54 -04:00
parent 30fa6406d4
commit de452fa201

View File

@ -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