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
|
||||
# DELETE
|
||||
MODFAVORITES=`echo "$FAVORITES" | sed "s|$2||" | sed "s| ,||" | sed "s|,,|,|"`
|
||||
MODFAVORITES=`echo "$FAVORITES" | sed "s|$2||;s|^,||;s|,,|,|"`
|
||||
if [ ! "$MODFAVORITES" ]; then
|
||||
/opt/kde/bin/kwriteconfig --file $CONFDIR/kickoffrc --group Favorites --key FavoriteURLs ''
|
||||
elif [ "$FAVORITES" != "$MODFAVORITES" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user