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
|
if [ -f "$ENTRY_PATH" ];then
|
||||||
echo "remove desktop entry...."
|
echo "remove desktop entry...."
|
||||||
echo "$SCR_PATH"
|
echo "$SCR_PATH"
|
||||||
sudo rm "$ENTRY_PATH" || error2 "couldn't remove desktop entry"
|
rm "$ENTRY_PATH" || error2 "couldn't remove desktop entry"
|
||||||
else
|
else
|
||||||
echo "desktop entry Not Found!"
|
echo "desktop entry Not Found!"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue