aboutsummaryrefslogtreecommitdiff
path: root/x11/XFree86-4-clients
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-12-27 22:37:09 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-12-27 22:37:09 +0000
commitbdd298a2e3bb101b98cee4e570e28934313762fb (patch)
tree2265d2f6b7c98c2a2548a4d6656e0a58877f819f /x11/XFree86-4-clients
parentaca5120f8b1ab0e0469bfccff6a79d460b6fba99 (diff)
downloadports-bdd298a2e3bb101b98cee4e570e28934313762fb.tar.gz
ports-bdd298a2e3bb101b98cee4e570e28934313762fb.zip
Silence errors on package install/deinstall by using proper if-clauses in
xterm workaround @exec/@unexec lines. Prodded by: edwin
Notes
Notes: svn path=/head/; revision=152236
Diffstat (limited to 'x11/XFree86-4-clients')
-rw-r--r--x11/XFree86-4-clients/pkg-plist24
1 files changed, 12 insertions, 12 deletions
diff --git a/x11/XFree86-4-clients/pkg-plist b/x11/XFree86-4-clients/pkg-plist
index 08ef81b63b79..f903208f6d18 100644
--- a/x11/XFree86-4-clients/pkg-plist
+++ b/x11/XFree86-4-clients/pkg-plist
@@ -751,18 +751,18 @@ lib/X11/xkb/xkbcomp
lib/X11/xman.help
lib/X11/xsm/system.xsm
@comment xterm workaround
-@exec [ ! -e %D/bin/resize ] && ln -sf %D/bin/resize-static %D/bin/resize
-@exec [ ! -e %D/bin/uxterm ] && ln -sf %D/bin/uxterm-static %D/bin/uxterm
-@exec [ ! -e %D/bin/xterm ] && ln -sf %D/bin/xterm-static %D/bin/xterm
-@exec [ ! -e %D/lib/X11/app-defaults/UXTerm ] && ln -sf %D/lib/X11/app-defaults/UXTerm-static %D/lib/X11/app-defaults/UXTerm
-@exec [ ! -e %D/lib/X11/app-defaults/XTerm-color ] && ln -sf %D/lib/X11/app-defaults/XTerm-color-static %D/lib/X11/app-defaults/XTerm-color
-@exec [ ! -e %D/lib/X11/app-defaults/XTerm ] && ln -s %D/lib/X11/app-defaults/XTerm-static %D/lib/X11/app-defaults/XTerm
-@unexec [ -L %D/bin/resize ] && rm %D/bin/resize
-@unexec [ -L %D/bin/uxterm ] && rm %D/bin/uxterm
-@unexec [ -L %D/bin/xterm ] && rm %D/bin/xterm
-@unexec [ -L %D/lib/X11/app-defaults/UXTerm ] && rm %D/lib/X11/app-defaults/UXTerm
-@unexec [ -L %D/lib/X11/app-defaults/XTerm-color ] && rm %D/lib/X11/app-defaults/XTerm-color
-@unexec [ -L %D/lib/X11/app-defaults/XTerm ] && rm %D/lib/X11/app-defaults/XTerm
+@exec if [ ! -e %D/bin/resize ]; then ln -sf %D/bin/resize-static %D/bin/resize; fi
+@exec if [ ! -e %D/bin/uxterm ]; then ln -sf %D/bin/uxterm-static %D/bin/uxterm; fi
+@exec if [ ! -e %D/bin/xterm ]; then ln -sf %D/bin/xterm-static %D/bin/xterm; fi
+@exec if [ ! -e %D/lib/X11/app-defaults/UXTerm ]; then ln -sf %D/lib/X11/app-defaults/UXTerm-static %D/lib/X11/app-defaults/UXTerm; fi
+@exec if [ ! -e %D/lib/X11/app-defaults/XTerm-color ]; then ln -sf %D/lib/X11/app-defaults/XTerm-color-static %D/lib/X11/app-defaults/XTerm-color; fi
+@exec if [ ! -e %D/lib/X11/app-defaults/XTerm ]; then ln -s %D/lib/X11/app-defaults/XTerm-static %D/lib/X11/app-defaults/XTerm; fi
+@unexec if [ -L %D/bin/resize ]; then rm %D/bin/resize; fi
+@unexec if [ -L %D/bin/uxterm ]; then rm %D/bin/uxterm; fi
+@unexec if [ -L %D/bin/xterm ]; then rm %D/bin/xterm; fi
+@unexec if [ -L %D/lib/X11/app-defaults/UXTerm ]; then rm %D/lib/X11/app-defaults/UXTerm; fi
+@unexec if [ -L %D/lib/X11/app-defaults/XTerm-color ]; then rm %D/lib/X11/app-defaults/XTerm-color; fi
+@unexec if [ -L %D/lib/X11/app-defaults/XTerm ]; then rm %D/lib/X11/app-defaults/XTerm; fi
@dirrm lib/X11/fonts/util
@dirrm lib/X11/icons/default
@dirrm lib/X11/icons/handhelds/cursors