diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-12-27 21:36:55 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-12-27 21:36:55 +0000 |
commit | bb36321b0af4c8a4b424339abd9e1d8455e097e9 (patch) | |
tree | 59ed443b4c276ad02deefe29342fa6d4d5772b09 /x11 | |
parent | 3545ae4c18c8a758e36a6903c9c94693b0a69229 (diff) | |
download | ports-bb36321b0af4c8a4b424339abd9e1d8455e097e9.tar.gz ports-bb36321b0af4c8a4b424339abd9e1d8455e097e9.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=152230
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xorg-clients/pkg-plist | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/x11/xorg-clients/pkg-plist b/x11/xorg-clients/pkg-plist index 3e6cd1b003d0..4254439b1a52 100644 --- a/x11/xorg-clients/pkg-plist +++ b/x11/xorg-clients/pkg-plist @@ -757,18 +757,18 @@ 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 include/X11/PM @dirrm lib/X11/proxymngr |