Fixed last fix.
This commit is contained in:
parent
659b819096
commit
846e99fd87
@ -6,7 +6,7 @@ diff -up cups-filters-1.0.53/filter/pstopdf.execmem cups-filters-1.0.53/filter/p
|
||||
eval "$(printf "%s" "$5" | sed -nre 's/.*(^|\s)orientation-requested=5.*/orientation="${orientation:-270}"/p')"
|
||||
eval "$(printf "%s" "$5" | sed -nre 's/.*(^|\s)orientation-requested=6.*/orientation="${orientation:-180}"/p')"
|
||||
-if printf "%s" "$5" | grep -iPq '(\s|^)landscape(=(1|on|yes|true))?(\s|$)'; then
|
||||
+if printf "%s" "$5" | grep -iq '(\s|^)landscape(=(1|on|yes|true))?(\s|$)'; then
|
||||
+if printf "%s" "$5" | grep -qiE '(\s|^)landscape(=(1|on|yes|true))?(\s|$)'; then
|
||||
if test -e "$PPD"; then
|
||||
eval "$(sed -nre 's/^\*LandscapeOrientation:\s*Plus90.*/orientation="${orientation:-90}"/p' "$PPD")"
|
||||
eval "$(sed -nre 's/^\*LandscapeOrientation:\s*Minus90.*/orientation="${orientation:-270}"/p' "$PPD")"
|
||||
|
Loading…
Reference in New Issue
Block a user