void-packages/srcpkgs/cups-pdf/patches/print-to-home.patch
Piraty 03602ab7b2 New package: cups-pdf-3.0.1
Usually, the conf file would have to be owned by lp group to match all
other files in `/etc/cups` but adding a post-install to just chown it
seems wrong... so let's leave it as is for now.
2019-06-25 08:40:09 +02:00

23 lines
718 B
Diff

# reason: print to $HOME by default
--- extra/cups-pdf.conf
+++ extra/cups-pdf.conf
@@ -42,17 +42,17 @@
### Key: Out (config)
## CUPS-PDF output directory
## special qualifiers:
## ${HOME} will be expanded to the user's home directory
## ${USER} will be expanded to the user name
## in case it is an NFS export make sure it is exported without
## root_squash!
### Default: /var/spool/cups-pdf/${USER}
-#Out /var/spool/cups-pdf/${USER}
+Out ${HOME}/PDF
### Key: AnonDirName (config)
## ABSOLUTE path for anonymously created PDF files
## if anonymous access is disabled this setting has no effect
### Default: /var/spool/cups-pdf/ANONYMOUS
#AnonDirName /var/spool/cups-pdf/ANONYMOUS