termux-packages/packages/texlive/pdfjam.patch

21 lines
1.0 KiB
Diff

--- ../pdfjam.orig 2020-04-04 09:23:16.198017919 +0200
+++ ./texmf-dist/scripts/pdfjam/pdfjam 2020-04-04 09:24:36.684519772 +0200
@@ -20,7 +20,7 @@
## The path searched for site-wide configuration files can be set ##
## by editing the following variable: ##
## ##
- configpath='/etc:/usr/share/etc:/usr/local/share:/usr/local/etc' ##
+ configpath='@TERMUX_PREFIX@/etc:@TERMUX_PREFIX@/share/etc:/usr/local/share:/usr/local/etc' ##
## ##
## Nothing else in this file should need to be changed. ##
## ##
@@ -169,7 +169,7 @@
##
## Next a permitted location for temporary files on your system:
##
-tempfileDir='/var/tmp' ## /var/tmp is standard on most unix systems
+tempfileDir='$PREFIX/tmp' ## /var/tmp is standard on most unix systems
##
##
## Default for the output file location: