From 3e33da0710f11f355baab7a39641a361fbdc26ed Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Fri, 16 Sep 2022 20:25:23 +0200 Subject: [PATCH] Fix typo in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d15191c..f3e0cf2 100755 --- a/install.sh +++ b/install.sh @@ -49,7 +49,7 @@ if [ "$dl_server" = "yes" ]; then $sudo sed -i -e "s/PH_PASSWORD/$password/g" /etc/systemd/system/transmission-daemon.service $sudo sed -i -e "s:PH_DL_LOCATION:$dl_location:g" /etc/systemd/system/transmission-daemon.service $sudo cp $run_directory/systemd-templates/transmission-vpn.service /etc/systemd/system/ - $sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/transmission-vpn.service + $sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/transmission-vpn.service $sudo cp $run_directory/systemd-templates/transmission-vpn.timer /etc/systemd/system/ $sudo cp $run_directory/nginx-blocks/transmission /etc/nginx/sites-available/transmission $sudo sed -i -e "s/PH_FQDN/$(hostname)/g" /etc/nginx/sites-available/transmission