profile/install.sh

8 lines
163 B
Bash
Raw Normal View History

2020-09-03 14:47:14 +00:00
#!/bin/sh
2020-09-03 15:30:27 +00:00
if [ -e "$HOME/.profile" ] ; then
2020-09-03 15:38:40 +00:00
mv "$HOME/.profile" "$HOME/.profile-original-$(date +%s)"
2020-09-03 14:47:14 +00:00
fi
ln -s "$HOME/.config/profile/profile" "$HOME/.profile"