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