From fe02477074d6e961e4ddc96f8f0fa465cc807bf2 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Fri, 16 Sep 2022 15:09:16 +0200 Subject: [PATCH] Fix sed error in install script --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 34df2e2..fe7e97e 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ fi if [ "$filebrowser" = "yes" ]; then $sudo cp $run_directory/systemd-templates/filebrowser.service /etc/systemd/system/ $sudo sed -i -e "s/PH_NAS_USER/$nas_user/g" /etc/systemd/system/filebrowser.service - $sudo sed -i -e "s/PH_NAS_DIRECTORY/$nas_location/g" /etc/systemd/system/filebrowser.service + $sudo sed -i -e "s:PH_NAS_DIRECTORY:$nas_location:g" /etc/systemd/system/filebrowser.service $sudo cp $run_directory/nginx-blocks/filebrowser /etc/nginx/sites-available/filebrowser $sudo sed -i -e "s/PH_FQDN/$(hostname)/g" /etc/nginx/sites-available/filebrowser $sudo ln -s ../sites-available/filebrowser /etc/nginx/sites-enabled/filebrowser