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
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue