From dec1c0e83cf5352a5e420f0cf6f94629042be4fa Mon Sep 17 00:00:00 2001 From: th33xitus Date: Tue, 13 Oct 2020 11:55:01 +0200 Subject: [PATCH] fix: addition to b20cda1 --- scripts/functions.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index cf1d88c..b9213fe 100755 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -259,7 +259,9 @@ create_shell_command_example(){ } init_ini(){ - [ ! -f $INI_FILE ] && touch $INI_FILE + if [ ! -f $INI_FILE ]; then + echo -e "#don't edit this file if you don't know what you are doing...\c" > $INI_FILE + fi if [ ! $(grep -E "^backup_before_update=." $INI_FILE) ]; then echo -e "\nbackup_before_update=false\c" >> $INI_FILE fi