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
etersoft
eepm
Commits
8338b077
Commit
8338b077
authored
Apr 23, 2024
by
Иван Мажукин
Committed by
Vitaly Lipatov
Apr 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add lexmark-upd-ppd (eterbug #17268)
parent
fb09d42a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
+59
-0
lexmark-upd-ppd.sh
pack.d/lexmark-upd-ppd.sh
+37
-0
lexmark-upd-ppd.sh
play.d/lexmark-upd-ppd.sh
+22
-0
No files found.
pack.d/lexmark-upd-ppd.sh
0 → 100755
View file @
8338b077
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# Lexmark-UPD-PPD-Files-1.0-05252022.x86_64.rpm
BASENAME
=
$(
basename
$TAR
.rpm
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|Lexmark-UPD-PPD-Files-||'
|
sed
-e
's|.x86_64||'
)
erc unpack
$TAR
||
fatal
# Install PPDs
# PPD_ROOT="usr/share/ppd"
PPD_ROOT
=
"usr/share/cups/model"
mkdir
opt
install
-Dm644
-t
"
$PPD_ROOT
/Lexmark_PPD/"
usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/GlobalPPD_1.4/
*
.ppd
# Install filter scripts
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/GlobalPPD_1.4/LexFaxPnHFilter"
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/GlobalPPD_1.4/queueCreation.sh"
# Install filter bins
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/GlobalPPD_1.4/lib64/LexCommandFileFilterG2"
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/GlobalPPD_1.4/lib64/cupsversion"
# Install license file
install
-Dm644
-t
"usr/share/doc/
$PRODUCT
/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/License_EU2-0111-en.txt"
install
-Dm644
-t
"usr/share/doc/
$PRODUCT
/"
"usr/local/Lexmark/ppd/Lexmark-UPD-PPD-Files/License_EU2-0111-ru.txt"
rm
-fr
usr/local
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar usr opt
||
fatal
return_tar
$PKGNAME
.tar
play.d/lexmark-upd-ppd.sh
0 → 100755
View file @
8338b077
#!/bin/sh
PKGNAME
=
lexmark-upd-ppd
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Linux Universal Print Driver with 64-bit packaging for Lexmark Printers"
URL
=
"https://support.lexmark.com/content/support/en_xm/support/download.DRI1000577.html"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
PKGURL
=
"https://downloads.lexmark.com/downloads/drivers/Lexmark-UPD-PPD-Files-1.0-05252022.x86_64.rpm"
install_pack_pkgurl
echo
"Note: run
# serv cups restart
to enable new printer model in cups
"
\ No newline at end of file
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