From 9937a09c97250e78d587598549d6124ad0367f66 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 19 Apr 2008 00:40:54 +0000 Subject: Use @rmtry macro in the pkg-plist. --- cad/kicad-devel/pkg-plist | 10 +++++----- cad/kicad/pkg-plist | 10 +++++----- cad/linux-eagle/pkg-plist | 2 +- cad/linux-eagle5/pkg-plist | 2 +- cad/opencascade/pkg-plist | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) (limited to 'cad') diff --git a/cad/kicad-devel/pkg-plist b/cad/kicad-devel/pkg-plist index 3ff94de0eee9..431509717235 100644 --- a/cad/kicad-devel/pkg-plist +++ b/cad/kicad-devel/pkg-plist @@ -1,18 +1,18 @@ %%INSTDIR%%/%%OPSYS%%/cvpcb @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/eeschema @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/gerbview @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/kicad @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/pcbnew @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/plugins/netlist_form_pads-pcb %%INSTDIR%%/INSTALL.txt %%INSTDIR%%/author.txt diff --git a/cad/kicad/pkg-plist b/cad/kicad/pkg-plist index 3ff94de0eee9..431509717235 100644 --- a/cad/kicad/pkg-plist +++ b/cad/kicad/pkg-plist @@ -1,18 +1,18 @@ %%INSTDIR%%/%%OPSYS%%/cvpcb @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/eeschema @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/gerbview @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/kicad @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/pcbnew @exec ln -sf %D/%F %D/bin -@unexec rm %D/bin/%f 2>&1 >/dev/null || true +@rmtry bin/%f %%INSTDIR%%/%%OPSYS%%/plugins/netlist_form_pads-pcb %%INSTDIR%%/INSTALL.txt %%INSTDIR%%/author.txt diff --git a/cad/linux-eagle/pkg-plist b/cad/linux-eagle/pkg-plist index 3bde8ae25580..0fbb0adbbfe6 100644 --- a/cad/linux-eagle/pkg-plist +++ b/cad/linux-eagle/pkg-plist @@ -813,7 +813,7 @@ share/eagle/ulp/unidat.ulp share/eagle/ulp/update-packages.ulp share/eagle/ulp/useful-routines.ulp share/eagle/ulp/warning.bmp -@unexec rm -f %D/share/eagle/bin/eagle.key || true +@rmtry share/eagle/bin/eagle.key @dirrm share/eagle/ulp @dirrm share/eagle/scr @dirrm share/eagle/projects/examples/tutorial diff --git a/cad/linux-eagle5/pkg-plist b/cad/linux-eagle5/pkg-plist index 3bde8ae25580..0fbb0adbbfe6 100644 --- a/cad/linux-eagle5/pkg-plist +++ b/cad/linux-eagle5/pkg-plist @@ -813,7 +813,7 @@ share/eagle/ulp/unidat.ulp share/eagle/ulp/update-packages.ulp share/eagle/ulp/useful-routines.ulp share/eagle/ulp/warning.bmp -@unexec rm -f %D/share/eagle/bin/eagle.key || true +@rmtry share/eagle/bin/eagle.key @dirrm share/eagle/ulp @dirrm share/eagle/scr @dirrm share/eagle/projects/examples/tutorial diff --git a/cad/opencascade/pkg-plist b/cad/opencascade/pkg-plist index eb5c92a6400f..d1cc110cec7c 100644 --- a/cad/opencascade/pkg-plist +++ b/cad/opencascade/pkg-plist @@ -45970,10 +45970,10 @@ lib/libwokutilscmd.so.0 %%OCCROOT%%/wok/site/wokinit.csh %%OCCROOT%%/wok/wok_entities/ATLIST @comment "The following entities only exist if wokinit.csh has been run." -@unexec rm %D%/OpenCAS/wok/wok_entities/DEFAULT.edl 2>/dev/null || true -@unexec rm %D%/OpenCAS/wok/wok_entities/OS.edl 2>/dev/null || true -@unexec rm %D%/OpenCAS/wok/wok_entities/OS/adm/WSLIST 2>/dev/null || true -@unexec rm %D%/OpenCAS/wok/wok_entities/WOKSESSION.edl 2>/dev/null || true +@rmtry OpenCAS/wok/wok_entities/DEFAULT.edl +@rmtry OpenCAS/wok/wok_entities/OS.edl +@rmtry OpenCAS/wok/wok_entities/OS/adm/WSLIST +@rmtry OpenCAS/wok/wok_entities/WOKSESSION.edl @dirrmtry %%OCCROOT%%/wok/wok_entities/OS/adm @dirrmtry %%OCCROOT%%/wok/wok_entities/OS/SCCS @dirrmtry %%OCCROOT%%/wok/wok_entities/OS -- cgit