summaryrefslogtreecommitdiffstats
path: root/src/updates/gwenview_thumbnail_size.sh
blob: 5e2872bf621969d39e415a66fe81117180379456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh
while read line; do
    if echo "$line" | grep '^thumbnail size=small' >/dev/null 2>/dev/null; then
        echo "thumbnail size=48"
    elif echo "$line" | grep '^thumbnail size=med' >/dev/null 2>/dev/null; then
        echo "thumbnail size=96"
    elif echo "$line" | grep '^thumbnail size=large' >/dev/null 2>/dev/null; then
        echo "thumbnail size=128"
    else
        echo "$line"
    fi
done