]> git.sthu.org Git - pgp-tools.git/commitdiff
Since we can't count anymore on libpaper being installed,
authorkink-guest <kink-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 16 Aug 2005 18:19:32 +0000 (18:19 +0000)
committerkink-guest <kink-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Tue, 16 Aug 2005 18:19:32 +0000 (18:19 +0000)
warn people that we're not using the papersize they've specified.

git-svn-id: svn://svn.debian.org/pgp-tools/trunk@203 b513b33f-fedd-0310-b452-c3deb5f4c849

gpg-key2ps/gpg-key2ps

index c8e58fa57cc403a61fc51331cc3020dac41a89ee..5b875856fd6d09b102f04db3a06790627001a374 100755 (executable)
@@ -85,6 +85,7 @@ if ( -x "/usr/bin/paperconf" ) {
        chomp($h);
 } else {
        # Default to A4.
        chomp($h);
 } else {
        # Default to A4.
+       print STDERR "Warning: libpaper-utils is not installed, defaulting to A4.\n";
        $w=596;
        $h=842;
 }
        $w=596;
        $h=842;
 }