Bugfix: missing whitespace

This commit is contained in:
Bill Zimmerman 2020-03-17 19:31:26 +01:00 committed by GitHub
parent 35f915d42e
commit 8998433d75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"