kickoffcfg: former fix locally forgotten
This commit is contained in:
parent
7d4de2c7ec
commit
6de5fc2b9c
@ -28,7 +28,7 @@ if [ "$1" = "--add-favorite" ]; then
|
|||||||
}
|
}
|
||||||
elif [ "$1" = "--del-favorite" ]; then
|
elif [ "$1" = "--del-favorite" ]; then
|
||||||
# DELETE
|
# DELETE
|
||||||
MODFAVORITES=`echo "$FAVORITES" | sed "s|$2||" | sed "s| ,||" | sed "s|,,|,|"`
|
MODFAVORITES=`echo "$FAVORITES" | sed "s|$2||;s|^,||;s|,,|,|"`
|
||||||
if [ ! "$MODFAVORITES" ]; then
|
if [ ! "$MODFAVORITES" ]; then
|
||||||
/opt/kde/bin/kwriteconfig --file $CONFDIR/kickoffrc --group Favorites --key FavoriteURLs ''
|
/opt/kde/bin/kwriteconfig --file $CONFDIR/kickoffrc --group Favorites --key FavoriteURLs ''
|
||||||
elif [ "$FAVORITES" != "$MODFAVORITES" ]; then
|
elif [ "$FAVORITES" != "$MODFAVORITES" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user