summaryrefslogtreecommitdiffstats
path: root/konqueror/client/kfmclient_3_2_update.sh
blob: 6c3adbd15e3672e4de4e6a540ea838edeaab367e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

while read ln; do
    if (echo $ln | grep -v "^StartNewKonqueror="); then
        continue
    fi
    if test "$ln" = "StartNewKonqueror=Local only"; then
        echo "SafeParts=khtml.desktop"
    elif test "$ln" = "StartNewKonqueror=Web only"; then
        echo "SafeParts=SAFE"
    elif test "$ln" = "StartNewKonqueror=Always" \
            -o "$ln" = "StartNewKonqueror=TRUE" \
            -o "$ln" = "StartNewKonqueror=true" \
            -o "$ln" = "StartNewKonqueror=1"; then
        echo "SafeParts="
    else # =Never
        echo "SafeParts=ALL"
    fi
done

echo '# DELETE StartNewKonqueror'