epsonscan2-non-free-plugin.sh 353 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh

TAR="$1"
RETURNTARNAME="$2"

. $(dirname $0)/common.sh

if ! echo "$TAR" | grep -q "epsonscan2-bundle-.*.tar.gz" ; then
    fatal "No idea how to handle $TAR"
fi

erc unpack $TAR && cd epsonscan2-bundle-* || fatal

# TODO:
# cp $base/DefaultSettings.SF2 $HOME/.epsonscan2

plugins="plugins/epsonscan2-non-free-plugin*.*"

return_tar $plugins