forked from extern/zsync
copy instead of move
This commit is contained in:
parent
906cf28e6e
commit
988da0f5d1
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f /etc/bashclub/zsync.conf ]; then
|
||||
mv /etc/bashclub/zsync.conf /etc/bashclub/zsync.conf.backup_$(date +%Y-%m-%d)
|
||||
cp /etc/bashclub/zsync.conf /etc/bashclub/zsync.conf.backup_$(date +%Y-%m-%d)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user