From 8998433d755f4cbd2184b72048cf909963d284c7 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Tue, 17 Mar 2020 19:31:26 +0100 Subject: [PATCH] Bugfix: missing whitespace --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index b94da1a6..b547c2a3 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -213,7 +213,7 @@ function check_for_old_configs() { fi for file in /etc/systemd/network/raspap-*.net*; do - if [-f "${file}" ]; then + if [ -f "${file}" ]; then 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}"