diff --git a/uninstaller.sh b/uninstaller.sh index ce499c2..f65006d 100755 --- a/uninstaller.sh +++ b/uninstaller.sh @@ -24,8 +24,9 @@ main(){ echo "photoshop directory Not Found!" fi + #Unlink command - if [ -f "$CMD_PATH" ];then + if [ -L "$CMD_PATH" ];then echo "remove luncher command..." sudo unlink "$CMD_PATH" || error "couln't remove luncher command" else