diff options
author | asami <asami@FreeBSD.org> | 2000-06-03 08:46:38 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-06-03 08:46:38 +0800 |
commit | 69ccaf3b9bce61f7362bc86084cf8e8b8545d127 (patch) | |
tree | 0bf4f3a24f35e271e27fa55e3f6cd5b9fe1718d5 /misc/videotext | |
parent | 3e9bcfbf4820d96c92a957ee82bf6a681cc455de (diff) | |
download | freebsd-ports-gnome-69ccaf3b9bce61f7362bc86084cf8e8b8545d127.tar.gz freebsd-ports-gnome-69ccaf3b9bce61f7362bc86084cf8e8b8545d127.tar.zst freebsd-ports-gnome-69ccaf3b9bce61f7362bc86084cf8e8b8545d127.zip |
Remove empty fonts.dir files. Use %D instead of hardcoded /usr/X11R6.
Found by: bento
Diffstat (limited to 'misc/videotext')
-rw-r--r-- | misc/videotext/pkg-plist | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/misc/videotext/pkg-plist b/misc/videotext/pkg-plist index a50c7569124b..b77912099bfc 100644 --- a/misc/videotext/pkg-plist +++ b/misc/videotext/pkg-plist @@ -17,15 +17,16 @@ lib/X11/fonts/local/vtx10x12.pcf lib/X11/fonts/local/vtx15x18.pcf lib/X11/fonts/local/vtx20x24.pcf -@exec /bin/chmod u+w /usr/X11R6/lib/X11/fonts/local /usr/X11R6/lib/X11/fonts/local/fonts.dir -@exec /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/local -@exec /bin/chmod u=rwx,go=rx /usr/X11R6/lib/X11/fonts/local -@exec /bin/chmod a=r /usr/X11R6/lib/X11/fonts/local/fonts.dir +@exec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir +@exec %D/bin/mkfontdir %D/lib/X11/fonts/local +@exec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local +@exec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir -@unexec /bin/chmod u+w /usr/X11R6/lib/X11/fonts/local /usr/X11R6/lib/X11/fonts/local/fonts.dir -@unexec /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/local -@unexec /bin/chmod u=rwx,go=rx /usr/X11R6/lib/X11/fonts/local -@unexec /bin/chmod a=r /usr/X11R6/lib/X11/fonts/local/fonts.dir +@unexec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir +@unexec %D/bin/mkfontdir %D/lib/X11/fonts/local +@unexec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local +@unexec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir +@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi @dirrm lib/X11/vtx |