diff options
author | lesi <lesi@FreeBSD.org> | 2005-12-28 05:36:55 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2005-12-28 05:36:55 +0800 |
commit | 51a1394ecba78745dd84d46cbdc44d65a059f66e (patch) | |
tree | acc2757015a1afbb93ef5a9e90bd1254d0b33ba4 /x11 | |
parent | 5516cac81cbbd728468d50322884635b769b52fa (diff) | |
download | freebsd-ports-gnome-51a1394ecba78745dd84d46cbdc44d65a059f66e.tar.gz freebsd-ports-gnome-51a1394ecba78745dd84d46cbdc44d65a059f66e.tar.zst freebsd-ports-gnome-51a1394ecba78745dd84d46cbdc44d65a059f66e.zip |
Silence errors on package install/deinstall by using proper if-clauses in
xterm workaround @exec/@unexec lines.
Prodded by: edwin
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 |