Change order
This commit is contained in:
parent
4d950cb0c4
commit
16162d3ba8
@ -18,8 +18,8 @@ echo Test
|
||||
# check if the install scripts are the same
|
||||
#cmp --silent "$HOME/scripts/arcolinux-config.sh" "$HOME/config/scripts/arcolinux-config.sh" && echo Scripts are the same || rm "$HOME/scripts/arcolinux-config.sh" && cp "$HOME/config/scripts/arcolinux-config.sh" "$HOME/scripts/" && bash ~/scripts/arcolinux-config.sh
|
||||
if ! cmp --silent "$HOME/scripts/arcolinux-config.sh" "$HOME/config/scripts/arcolinux-config.sh" ; then
|
||||
rm "$HOME/scripts/arcolinux-config.sh" && cp "$HOME/config/scripts/arcolinux-config.sh" "$HOME/scripts/" && bash ~/scripts/arcolinux-config.sh
|
||||
echo Removed old config file and launched new one.
|
||||
rm "$HOME/scripts/arcolinux-config.sh" && cp "$HOME/config/scripts/arcolinux-config.sh" "$HOME/scripts/" && bash ~/scripts/arcolinux-config.sh
|
||||
fi
|
||||
|
||||
#delete previous backups
|
||||
|
Loading…
Reference in New Issue
Block a user