update backup file name
This commit is contained in:
parent
25a6f0cf2d
commit
9abd7ab49d
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -f "$HOME/.profile" ] ; then
|
||||
mv "$HOME/.profile" "$HOME/.profile-original"
|
||||
if [ -e "$HOME/.profile" ] ; then
|
||||
mv "$HOME/.profile" "$HOME/.profile-original-$(date =%s)"
|
||||
fi
|
||||
|
||||
ln -s "$HOME/.config/profile/profile" "$HOME/.profile"
|
||||
|
|
Loading…
Reference in New Issue