Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
ee090172
Commit
ee090172
authored
Apr 26, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play/pack: add install some Pantum drivers
parent
512b9aa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
0 deletions
+57
-0
pantum.sh
pack.d/pantum.sh
+34
-0
pantum.sh
play.d/pantum.sh
+23
-0
No files found.
pack.d/pantum.sh
0 → 100755
View file @
ee090172
#!/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
play.d/pantum.sh
0 → 100755
View file @
ee090172
#!/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
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment