From bc6e8ead0ea17c5db70cde76f79beab79365916c Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Fri, 11 Feb 2022 20:45:54 +0100 Subject: [PATCH] Switch sed delimeter in order to avoid conflict with paths --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 063bfaa..9cac41a 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ echo "Copying Systemd units to system directory..." sudo cp systemd-templates/dns-update.service /etc/systemd/system/ sudo cp systemd-templates/dns-update.timer /etc/systemd/system/ sudo sed -i -e "s/PH_USER/$(whoami)/g" /etc/systemd/system/dns-update.service -sudo sed -i -e "s/PH_DIRECTORY/$(pwd)/g" /etc/systemd/system/dns-update.service +sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/dns-update.service echo "Reloading Systemd..." sudo systemctl daemon-reload