/usr/share/doc/munipack/genthumb.sh is in munipack-doc 0.5.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/sh
# generates include file for Make providing all images
#set -x
MFILE=image_list.mk
# thumbnails
rm -f Screenshot-*-mini.png;
for A in Screenshot-*.png; do
B=${A%.png}-mini.png
C=${A%-mini.png}.png
if [ ! -f "$C" ]; then
convert $A -resize 300x200 $B
fi
done
convert big_logo.png -resize 100x100 title_logo.png
echo -n "image_list = " > $MFILE
for S in "*.png" "*.jp*g" "*.svg"; do
for A in $S; do
echo "\\" >> $MFILE
echo -n " $A " >> $MFILE
done
done
echo >> $MFILE
|