Correct typo in install script

This commit is contained in:
Alexandre CATTEAU 2022-08-28 12:26:13 +02:00
parent 83ed861ce8
commit 7216312309

View File

@ -16,10 +16,10 @@ fi
if [ -x /usr/bin/apt-get ]; then
echo "APT detected, copying Systemd unit to system directory, using APT template..."
$sudo cp systemd-templates/packages-upgrade-apt.service /etc/systemd/packages-upgrade.service
$sudo cp systemd-templates/packages-upgrade-apt.service /etc/systemd/system/packages-upgrade.service
elif [ -x /usr/bin/pacman ]; then
echo "Pacman detected, copying Systemd unit to system directory, using Pacman template..."
$sudo cp systemd-templates/packages-upgrade-pacman.service /etc/systemd/packages-upgrade.service
$sudo cp systemd-templates/packages-upgrade-pacman.service /etc/systemd/system/packages-upgrade.service
else
echo "No supported package manager found. Only APT and Pacman are currently supported. Exiting..."
exit 1