Updates
This commit is contained in:
parent
008df7b755
commit
97aa0af0a7
11
update.sh
11
update.sh
@ -12,7 +12,16 @@ figlet "Update"
|
|||||||
echo
|
echo
|
||||||
if gum confirm "Do you want to start the update now?" ;then
|
if gum confirm "Do you want to start the update now?" ;then
|
||||||
|
|
||||||
# Remove existing download folder
|
# Remove existing download folder and zip files
|
||||||
|
if [ -f $HOME/Downloads/dotfiles-main.zip ] ;then
|
||||||
|
rm $HOME/Downloads/dotfiles-main.zip
|
||||||
|
fi
|
||||||
|
if [ -f $HOME/Downloads/dotfiles-dev.zip ] ;then
|
||||||
|
rm $HOME/Downloads/dotfiles-dev.zip
|
||||||
|
fi
|
||||||
|
if [ -f $HOME/Downloads/dotfiles.zip ] ;then
|
||||||
|
rm $HOME/Downloads/dotfiles.zip
|
||||||
|
fi
|
||||||
if [ -d $HOME/Downloads/dotfiles ] ;then
|
if [ -d $HOME/Downloads/dotfiles ] ;then
|
||||||
rm -rf $HOME/Downloads/dotfiles
|
rm -rf $HOME/Downloads/dotfiles
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user