From 721631230932d72c4351c7e660d1276a6b24fd5a Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 28 Aug 2022 12:26:13 +0200 Subject: [PATCH] Correct typo in install script --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 2488fda..051acd8 100755 --- a/install.sh +++ b/install.sh @@ -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