Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / client / kfmclient_3_2_update.sh
blob6c3adbd15e3672e4de4e6a540ea838edeaab367e
1 #! /bin/sh
3 while read ln; do
4 if (echo $ln | grep -v "^StartNewKonqueror="); then
5 continue
6 fi
7 if test "$ln" = "StartNewKonqueror=Local only"; then
8 echo "SafeParts=khtml.desktop"
9 elif test "$ln" = "StartNewKonqueror=Web only"; then
10 echo "SafeParts=SAFE"
11 elif test "$ln" = "StartNewKonqueror=Always" \
12 -o "$ln" = "StartNewKonqueror=TRUE" \
13 -o "$ln" = "StartNewKonqueror=true" \
14 -o "$ln" = "StartNewKonqueror=1"; then
15 echo "SafeParts="
16 else # =Never
17 echo "SafeParts=ALL"
19 done
21 echo '# DELETE StartNewKonqueror'