diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 24fd1fe6c62b7a9fc347794fde043285da272f5c (patch) | |
tree | 65557bf1d241ca389b619dbd24d18d51932ee030 /pkgs/muttprint/two_edge.patch | |
download | NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.gz NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.tar.zst NUR-24fd1fe6c62b7a9fc347794fde043285da272f5c.zip |
Initial commit published for NUR
Diffstat (limited to 'pkgs/muttprint/two_edge.patch')
-rw-r--r-- | pkgs/muttprint/two_edge.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/muttprint/two_edge.patch b/pkgs/muttprint/two_edge.patch new file mode 100644 index 00000000..4a7290d3 --- /dev/null +++ b/pkgs/muttprint/two_edge.patch | |||
@@ -0,0 +1,19 @@ | |||
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 | } | ||