remove sudo for deleting desktop entry
This commit is contained in:
parent
78c578390a
commit
ce1bcfeec4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue