update backup file name
This commit is contained in:
parent
25a6f0cf2d
commit
9abd7ab49d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue