projects
/
EVA-2020-02-2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4b64c
)
Minute instead month in backup file name
author
Jaroslav Lichtblau
<svetlemodry@users.noreply.github.com>
Wed, 5 Aug 2020 10:18:26 +0000
(12:18 +0200)
committer
GitHub
<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
patch
|
blob
|
blame
|
history
diff --git
a/install.sh
b/install.sh
index 3e5b898477b66e874e5a92c51b4933d17de71022..6837697f3a3823c4e3f71b63be2222df2b9484d7 100755
(executable)
--- 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