Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
unix
FI printers over Samba on Linux
Commits
fa6dd707
Commit
fa6dd707
authored
Jan 07, 2021
by
Martin Klimes (k11m1)
Browse files
cleanup
parent
9a9fcf36
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.pl
View file @
fa6dd707
...
@@ -171,12 +171,8 @@ sub install_printer {
...
@@ -171,12 +171,8 @@ sub install_printer {
sub
copy_filter
{
sub
copy_filter
{
(
my
$filter
)
=
@_
;
(
my
$filter
)
=
@_
;
# my $filter = "kyofilter_B";
#my $destination = "/usr/libexec/cups/filter/";
my
$destination
=
"
/usr/lib/cups/filter/
";
my
$destination
=
"
/usr/lib/cups/filter/
";
# $destination = "first/second/";
if
(
!-
d
$destination
)
{
if
(
!-
d
$destination
)
{
my
$dirs
=
eval
{
mkpath
(
$destination
)
};
my
$dirs
=
eval
{
mkpath
(
$destination
)
};
die
"
Failed to create
$destination
$@
\n
"
unless
$dirs
;
die
"
Failed to create
$destination
$@
\n
"
unless
$dirs
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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