better handle fodlers/files in install script
This commit is contained in:
parent
495d021dee
commit
8ed34c9293
@ -7,6 +7,8 @@ for FILE in $FILES; do
|
||||
|
||||
# remove old versions
|
||||
if [ -f "$HOME/$FILE" ]; then
|
||||
rm $HOME/$FILE
|
||||
elif [ -d "$HOME/$FILE" ]; then
|
||||
rm -r $HOME/$FILE
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user