diff options
author | kim <kim@pkgsrc.org> | 1999-09-05 18:38:55 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-09-05 18:38:55 +0000 |
commit | e6d542185ae1620f33bc9f4e3e902493dae6c493 (patch) | |
tree | bf8d4b696438eb9ed82783d9d1186e282fa34718 /print | |
parent | 6035b0a38fe23632612ee002c248cf163e73cfd7 (diff) | |
download | pkgsrc-e6d542185ae1620f33bc9f4e3e902493dae6c493.tar.gz |
The a2ps package keeps the paper size in a2ps-site.cfg -- the script
should really check better for failures, now it just assumes it is
getting something when grepping a file. Fix that one day...
Diffstat (limited to 'print')
-rw-r--r-- | print/papersize/Makefile | 4 | ||||
-rw-r--r-- | print/papersize/files/getpapersize | 4 | ||||
-rw-r--r-- | print/papersize/files/setpapersize | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/print/papersize/Makefile b/print/papersize/Makefile index fee355d42ae..05d94561b41 100644 --- a/print/papersize/Makefile +++ b/print/papersize/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 1999/06/16 17:28:25 cgd Exp $ +# $NetBSD: Makefile,v 1.3 1999/09/05 18:38:55 kim Exp $ # -DISTNAME= papersize-1.0.1 +DISTNAME= papersize-1.0.2 CATEGORIES= print MASTER_SITES= # empty DISTFILES= # empty diff --git a/print/papersize/files/getpapersize b/print/papersize/files/getpapersize index 456120337ff..f578cf14490 100644 --- a/print/papersize/files/getpapersize +++ b/print/papersize/files/getpapersize @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: getpapersize,v 1.1.1.1 1998/11/09 17:55:22 agc Exp $ +# $NetBSD: getpapersize,v 1.2 1999/09/05 18:38:55 kim Exp $ # # Small shell script to show the default papersize for packages # @@ -15,7 +15,7 @@ set $pkgs while [ $# -gt 0 ]; do case $1 in a2ps) - f=@localbase@/etc/a2ps.cfg + f=@localbase@/etc/a2ps-site.cfg if [ -e $f ]; then echo -n "$1 has default papersize: " awk '/^Options: --medium=/ { gsub(".*=", "", $0); print $0; }' $f diff --git a/print/papersize/files/setpapersize b/print/papersize/files/setpapersize index 533def66e30..4480ca83d17 100644 --- a/print/papersize/files/setpapersize +++ b/print/papersize/files/setpapersize @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: setpapersize,v 1.2 1999/06/16 17:28:25 cgd Exp $ +# $NetBSD: setpapersize,v 1.3 1999/09/05 18:38:56 kim Exp $ # # Small shell script to set the default papersize for packages # @@ -46,7 +46,7 @@ set $pkgs while [ $# -gt 0 ]; do case $1 in a2ps) - a2psfile=@localbase@/etc/a2ps.cfg + a2psfile=@localbase@/etc/a2ps-site.cfg if [ -e $a2psfile ]; then mv $a2psfile $a2psfile.old sed -e 's|^Options: --medium=.*|Options: --medium='$papersize'|' $a2psfile.old > $a2psfile && rm $a2psfile.old |