]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blame - pkgs/muttprint/two_edge.patch
Initial commit published for NUR
[perso/Immae/Config/Nix/NUR.git] / pkgs / muttprint / two_edge.patch
CommitLineData
24fd1fe6
IB
1--- a/muttprint 2016-05-05 13:48:50.515950744 +1200
2+++ b/muttprint 2016-05-05 13:52:10.722623902 +1200
3@@ -643,14 +643,14 @@
4 if ($Config{PAPERSAVE} eq "on") {
5 if ($useCups) {
6 $Config{PRINT_COMMAND} =~
7- s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
8+ s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
9 } else { # no cups
10 modifyPS("landscape");
11 }
12 } else { # no papersave
13 if ($useCups) {
14 $Config{PRINT_COMMAND} =~
15- s/\$CUPS_OPTIONS/ -o sides=two-sided-short-edge \$CUPS_OPTIONS/;
16+ s/\$CUPS_OPTIONS/ -o sides=two-sided-long-edge \$CUPS_OPTIONS/;
17 } else { # no cups
18 modifyPS("portrait");
19 }