uninstaller optimized

This commit is contained in:
victor 2020-02-14 11:19:36 +03:30
parent 43cad07c22
commit 28daf89b89
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ main(){
echo "photoshop directory Not Found!" echo "photoshop directory Not Found!"
fi fi
#Unlink command #Unlink command
if [ -f "$CMD_PATH" ];then if [ -L "$CMD_PATH" ];then
echo "remove luncher command..." echo "remove luncher command..."
sudo unlink "$CMD_PATH" || error "couln't remove luncher command" sudo unlink "$CMD_PATH" || error "couln't remove luncher command"
else else