diff --git a/install.sh b/install.sh index 603a89a..5365956 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ fi echo "Copying Systemd units to system directory..." sudo cp $run_directory/systemd-templates/firefox-backup-.service /etc/systemd/system/firefox-backup-$user.service sudo sed -i -e "s/PH_USER/$user/g" /etc/systemd/system/firefox-backup-$user.service -sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/firefox-backup-$user.service +sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/firefox-backup-$user.service echo "Reloading Systemd..." sudo systemctl daemon-reload