From 72eec3e2afbd75cbd61f1fd17302f7ccea54ebf4 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Fri, 20 Mar 2020 12:48:44 +0100 Subject: [PATCH] Hotfix: strip spaces --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index b547c2a3..2ef4370f 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -214,7 +214,7 @@ function check_for_old_configs() { for file in /etc/systemd/network/raspap-*.net*; do if [ -f "${file}" ]; then - filename = $(basename $file) + filename=$(basename $file) sudo cp "$file" "${raspap_dir}/backups/${filename}.`date +%F-%R`" sudo ln -sf "${raspap_dir}/backups/${filename}.`date +%F-%R`" "${raspap_dir}/backups/${filename}" fi