Merge pull request #80 from svetlemodry/svetlemodry-datestamp-fix
authorPhilip Howard <phil@pimoroni.com>
Wed, 5 Aug 2020 10:46:41 +0000 (11:46 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Aug 2020 10:46:41 +0000 (11:46 +0100)
Minute instead month in backup 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