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
c644ec86
Commit
c644ec86
authored
Apr 29, 2025
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
May 01, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add fplus-upd-ppd (eterbug #18278)
parent
189602db
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
0 deletions
+64
-0
fplus-upd-ppd.sh
pack.d/fplus-upd-ppd.sh
+41
-0
fplus-upd-ppd.sh
play.d/fplus-upd-ppd.sh
+23
-0
No files found.
pack.d/fplus-upd-ppd.sh
0 → 100755
View file @
c644ec86
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# Lexmark-UPD-PPD-Files-1.0-05252022.x86_64.rpm
erc unpack
$TAR
||
fatal
cd
Драйвер
*
/print
BASENAME
=
$(
basename
Generic-UPD-PPD
*
.x86_64.rpm .rpm
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|Generic-UPD-PPD-Files-||'
|
sed
-e
's|.x86_64||'
)
erc unpack
$BASENAME
.rpm
||
fatal
# Install PPDs
PPD_ROOT
=
"usr/share/cups/model"
install
-Dm644
-t
"
$PPD_ROOT
/Fplus_PPD/Fplus-generic.ppd"
usr/local/Generic/ppd/Generic-UPD-PPD-Files/GlobalPPD_1.4/
*
.ppd
# Install filter scripts
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Generic/ppd/Generic-UPD-PPD-Files/GlobalPPD_1.4/LexFaxPnHFilter"
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Generic/ppd/Generic-UPD-PPD-Files/GlobalPPD_1.4/queueCreation.sh"
# Install filter bins
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Generic/ppd/Generic-UPD-PPD-Files/GlobalPPD_1.4/lib64/LexCommandFileFilterG2"
install
-Dm755
-t
"usr/lib/cups/filter/"
"usr/local/Generic/ppd/Generic-UPD-PPD-Files/GlobalPPD_1.4/lib64/cupsversion"
# Install license file
install
-Dm644
-t
"usr/share/doc/
$PRODUCT
/"
usr/local/Generic/ppd/Generic-UPD-PPD-Files/License_EU
*
.txt
rm
-fr
usr/local
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar usr
||
fatal
return_tar
$PKGNAME
.tar
play.d/fplus-upd-ppd.sh
0 → 100755
View file @
c644ec86
#!/bin/sh
PKGNAME
=
fplus-upd-ppd
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"fplus drivers from the official site"
URL
=
"https://fplustech.ru/"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
SOURL
=
$(
eget
--list
--latest
"https://fplustech.ru/product/mnogofunktsionalnoe-ustroystvo-fplus-mc241adfw/"
"Драйвер для Linux.zip"
|
head
-n
1
)
PKGURL
=
"
${
SOURL
}
%20для%20Linux.zip"
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