Auto Update

This commit is contained in:
matt1432 2023-02-04 01:09:29 -05:00
parent 8df363428d
commit 14c081c74c
3 changed files with 7 additions and 7 deletions

View file

@ -37,9 +37,9 @@ if [ -d "$HOME/bin" ] ; then
fi fi
# source misc user scripts # source misc user scripts
if [ -d ~/git/dotfiles/files ] ; then #if [ -d ~/git/dotfiles/files ] ; then
. ~/git/dotfiles/files/* # . ~/git/dotfiles/files/.*
fi #fi
# source headscale autocompletion script # source headscale autocompletion script
if [ -f ~/.autoheadscale ] ; then if [ -f ~/.autoheadscale ] ; then

View file

@ -2,9 +2,9 @@ TODELETE="$(command ls --almost-all ~/git/dotfiles/files)"
if [ -d ~/git/dotfiles ] ; then if [ -d ~/git/dotfiles ] ; then
bash ~/git/dotfiles/pull.sh bash ~/git/dotfiles/pull.sh
(cd ~ ; rm $TODELETE) (cd ~ ; rm $(command ls --almost-all ~/git/dotfiles/files))
(cd ~/git/dotfiles (cd ~/git/dotfiles
ln ./files/* ../../) ln ./files/.* ../../)
fi fi
. ~/.bashrc . ~/.bashrc

View file

@ -6,8 +6,8 @@ TODELETE="$(command ls --almost-all files) .PS1"
(cd ../.. ; rm $TODELETE) (cd ../.. ; rm $TODELETE)
(cd /root ; rm $TODELETE) (cd /root ; rm $TODELETE)
cp ./files/* /root cp -r ./files/. /root
ln ./files/* ../../ ln ./files/.* ../../
# dotenv # dotenv
if [ ! -f ../../.env ] ; then if [ ! -f ../../.env ] ; then