From d485e21ce3e1b3be560ff1c52736cde9d3c3f52c Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sun, 28 Aug 2022 12:52:54 +0200 Subject: [PATCH] Update install script with new good practices (run_directory) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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