#!/bin/bash # for gifdance, it depends on 'convert' from 'imagemagick' # create required symlinks after 'imagemagick' installed from PPM, puppy doesn't do it by itself # if this file has .txt extension, remove it and make executable # or run below commands in terminal by copy/paste if [ -x /usr/bin/convert.im6 ]; then # for earlier puppies, e.g. TahrPup cd /usr/bin for i in *.im6; do ln -s $i "${i%%.*}" done elif [ -x /usr/bin/convert-im6.q16 ]; then # for later puppies, e.g. BionicPup cd /usr/bin for i in *-im6.q16; do ln -s $i "${i%%-*}" done fi if [ $? -ne 0 ]; then echo "If above shows 'failed to create' symlinks," echo "then probably the symlinks are already existing and it's OK" fi echo "Try typing: convert (from terminal to check)"