summaryrefslogtreecommitdiffstats
path: root/konqueror/client/kfmclient_3_2_update.sh
blob: 6933a99fef062bc75d390a9e5489fb878f5ffcf5 (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=tdehtml.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'