remove sudo for deleting desktop entry

This commit is contained in:
victor 2021-01-01 16:58:27 +03:30
parent 78c578390a
commit ce1bcfeec4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ main(){
if [ -f "$ENTRY_PATH" ];then
echo "remove desktop entry...."
echo "$SCR_PATH"
sudo rm "$ENTRY_PATH" || error2 "couldn't remove desktop entry"
rm "$ENTRY_PATH" || error2 "couldn't remove desktop entry"
else
echo "desktop entry Not Found!"
fi