summaryrefslogtreecommitdiff
path: root/print/papersize/files/setpapersize
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 10:06:40 +0000
committeragc <agc@pkgsrc.org>2000-07-11 10:06:40 +0000
commit9b6608ce833f76f77be42b9c5115d8b8e3d4c2ff (patch)
treed8394154fc73da40bb68a7e675e4ef47629b0e2a /print/papersize/files/setpapersize
parent3d757580da7b8bbb19b7061be24a621aba71155b (diff)
downloadpkgsrc-9b6608ce833f76f77be42b9c5115d8b8e3d4c2ff.tar.gz
Use X11PREFIX in preference to X11BASE, just in case xpkgwedge is
installed.
Diffstat (limited to 'print/papersize/files/setpapersize')
-rw-r--r--print/papersize/files/setpapersize4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/papersize/files/setpapersize b/print/papersize/files/setpapersize
index 4480ca83d17..751d16aa26e 100644
--- a/print/papersize/files/setpapersize
+++ b/print/papersize/files/setpapersize
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: setpapersize,v 1.3 1999/09/05 18:38:56 kim Exp $
+# $NetBSD: setpapersize,v 1.4 2000/07/11 10:06:41 agc Exp $
#
# Small shell script to set the default papersize for packages
#
@@ -54,7 +54,7 @@ while [ $# -gt 0 ]; do
fi
;;
ddd)
- dddfile=@x11base@/lib/X11/app-defaults/Ddd
+ dddfile=@x11prefix@/lib/X11/app-defaults/Ddd
if [ -e $dddfile ]; then
mv $dddfile $dddfile.old
sed -e 's|@Ddd@\*paperSize:.*|@Ddd@*paperSize: '$dimensions'|' $dddfile.old > $dddfile && rm $dddfile.old