mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 04:01:00 +03:00
date format update
This commit is contained in:
parent
daa9dc4193
commit
68a13a620d
@ -2,7 +2,8 @@
|
|||||||
echo $(hostname) > /mnt/data/etc/vestasync/hostname
|
echo $(hostname) > /mnt/data/etc/vestasync/hostname
|
||||||
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)"
|
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)"
|
||||||
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)"
|
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)"
|
||||||
|
export LC_TIME=en_GB.UTF-8
|
||||||
cd /mnt/data/etc/ > /dev/null 2>&1 || true
|
cd /mnt/data/etc/ > /dev/null 2>&1 || true
|
||||||
git add . > /dev/null 2>&1 || true
|
git add . > /dev/null 2>&1 || true
|
||||||
git commit -m "$(date)" > /dev/null 2>&1 || true
|
git commit -m "$(date +"%Y-%m-%d %H:%M:%S %z %Z")" > /dev/null 2>&1 || true
|
||||||
git push -u origin master > /dev/null 2>&1 || true
|
git push -u origin master > /dev/null 2>&1 || true
|
||||||
|
@ -6,8 +6,9 @@ do
|
|||||||
echo $(hostname) > /mnt/data/etc/vestasync/hostname
|
echo $(hostname) > /mnt/data/etc/vestasync/hostname
|
||||||
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)_inotify"
|
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)_inotify"
|
||||||
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)_inotify"
|
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)_inotify"
|
||||||
|
export LC_TIME=en_GB.UTF-8
|
||||||
cd /mnt/data/etc/
|
cd /mnt/data/etc/
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$(date)"
|
git commit -m "$(date +"%Y-%m-%d %H:%M:%S %z %Z")" # > /dev/null 2>&1 || true
|
||||||
git push -u origin master
|
git push -u origin master
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user