Minute instead month in backup file name
authorJaroslav Lichtblau <svetlemodry@users.noreply.github.com>
Wed, 5 Aug 2020 10:18:26 +0000 (12:18 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 10:18:26 +0000 (12:18 +0200)
Fix for the DATESTAMP variable, to show proper file name.

install.sh

index 3e5b898477b66e874e5a92c51b4933d17de71022..6837697f3a3823c4e3f71b63be2222df2b9484d7 100755 (executable)
@@ -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