Commit ee090172 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play/pack: add install some Pantum drivers

parent 512b9aa3
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
if echo "$TAR" | grep "Pantum Ubuntu Driver V.*.zip" ; then
erc "$TAR" || fatal
elif echo "$TAR" | grep "Pantum%20Ubuntu%20Driver%20V.*.zip" ; then
erc "$TAR" || fatal
elif echo "$TAR" | grep "linux_pantum.7z" ; then
erc "$TAR" || fatal
return_tar linux_pantum.deb
else
fatal "We support only Pantum Ubuntu Driver V.*.zip"
fi
rm -v "$TAR"
# drop dirname with spaces
mv Pantum* PantumDriver || fatal
cd PantumDriver/Resources || fatal
case "$(epm print info -a)" in
x86_64)
PKG="pantum_*_amd64.deb"
;;
x86)
PKG="kyodialog_*_i386.deb"
;;
esac
return_tar $PKG
#!/bin/sh
PKGNAME=pantum
SUPPORTEDARCHES="x86_64 x86"
DESCRIPTION="CUPS and SANE drivers for Pantum series printer and scanner"
URL="https://www.pantum.ru/support/download/driver/"
. $(dirname $0)/common.sh
# we have no package rustdesk-nightly
if [ "$1" = "--remove" ] ; then
epm remove $PKGNAME printer-driver-pantum
exit
fi
PKGURL="https://drivers.pantum.ru/userfiles/files/download/%E9%A9%B1%E5%8A%A8%E6%96%87%E4%BB%B6/2013/Pantum%20Ubuntu%20Driver%20V1_1_99-1.zip"
epm pack --install $PKGNAME "$PKGURL" || exit
PKGURL="https://drivers.pantum.ru/userfiles/files/download/%E9%A9%B1%E5%8A%A8%E6%96%87%E4%BB%B6/%E6%A0%87%E7%AD%BE%E6%9C%BA/Linux/linux_pantum.7z"
epm pack --install $PKGNAME "$PKGURL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment