From: Jaroslav Lichtblau Date: Wed, 5 Aug 2020 10:18:26 +0000 (+0200) Subject: Minute instead month in backup file name X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/ddb2f5d8a7a50ce5524b0013742c35eb4dba2fb5 Minute instead month in backup file name Fix for the DATESTAMP variable, to show proper file name. --- diff --git a/install.sh b/install.sh index 3e5b898..6837697 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/bash CONFIG=/boot/config.txt -DATESTAMP=`date "+%Y-%M-%d-%H-%M-%S"` +DATESTAMP=`date "+%Y-%m-%d-%H-%M-%S"` CONFIG_BACKUP=false APT_HAS_UPDATED=false USER_HOME=/home/$SUDO_USER