diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-06-02 07:15:24 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-06-02 07:15:24 +0000 |
commit | 4c488df21a038950b7e6f1396fc13cf016080397 (patch) | |
tree | 0cb8dc92a746903136b694110371280d76723ad5 | |
parent | Add cd2mp3, an easy-to-use perl UI to assist in ripping MP3s using dagrab (diff) |
Scatter DEINSTALL.wish to wherever there exists INSTALL.wish
Notes
Notes:
svn path=/head/; revision=29091
-rw-r--r-- | x11-toolkits/tk80/pkg-deinstall.wish | 22 | ||||
-rw-r--r-- | x11-toolkits/tk82/pkg-deinstall.wish | 22 | ||||
-rw-r--r-- | x11-toolkits/tk83/pkg-deinstall.wish | 22 | ||||
-rw-r--r-- | x11-toolkits/tk84/pkg-deinstall.wish | 22 |
4 files changed, 88 insertions, 0 deletions
diff --git a/x11-toolkits/tk80/pkg-deinstall.wish b/x11-toolkits/tk80/pkg-deinstall.wish new file mode 100644 index 000000000000..20ca9e8436c4 --- /dev/null +++ b/x11-toolkits/tk80/pkg-deinstall.wish @@ -0,0 +1,22 @@ +#! /bin/sh +# +# Remove the ${PREFIX}/bin/wish script that gets installed by INSTALL.wish +# if we are the last wish installation to be pkg_delete'd. +# +# $FreeBSD$ +# + +# +# Explicitly listing /usr/X11R6/bin here is debatable. +# +BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin" +WISH=${PKG_PREFIX}/bin/wish + +wishes=$(/bin/ls ${BINDIR} 2> /dev/null | \ + egrep '^o?wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$') + +if [ "$wishes" = "" -a -f ${WISH} ] && \ + (head -3 ${WISH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1 +then + rm -f ${PKG_PREFIX}/bin/wish +fi diff --git a/x11-toolkits/tk82/pkg-deinstall.wish b/x11-toolkits/tk82/pkg-deinstall.wish new file mode 100644 index 000000000000..20ca9e8436c4 --- /dev/null +++ b/x11-toolkits/tk82/pkg-deinstall.wish @@ -0,0 +1,22 @@ +#! /bin/sh +# +# Remove the ${PREFIX}/bin/wish script that gets installed by INSTALL.wish +# if we are the last wish installation to be pkg_delete'd. +# +# $FreeBSD$ +# + +# +# Explicitly listing /usr/X11R6/bin here is debatable. +# +BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin" +WISH=${PKG_PREFIX}/bin/wish + +wishes=$(/bin/ls ${BINDIR} 2> /dev/null | \ + egrep '^o?wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$') + +if [ "$wishes" = "" -a -f ${WISH} ] && \ + (head -3 ${WISH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1 +then + rm -f ${PKG_PREFIX}/bin/wish +fi diff --git a/x11-toolkits/tk83/pkg-deinstall.wish b/x11-toolkits/tk83/pkg-deinstall.wish new file mode 100644 index 000000000000..20ca9e8436c4 --- /dev/null +++ b/x11-toolkits/tk83/pkg-deinstall.wish @@ -0,0 +1,22 @@ +#! /bin/sh +# +# Remove the ${PREFIX}/bin/wish script that gets installed by INSTALL.wish +# if we are the last wish installation to be pkg_delete'd. +# +# $FreeBSD$ +# + +# +# Explicitly listing /usr/X11R6/bin here is debatable. +# +BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin" +WISH=${PKG_PREFIX}/bin/wish + +wishes=$(/bin/ls ${BINDIR} 2> /dev/null | \ + egrep '^o?wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$') + +if [ "$wishes" = "" -a -f ${WISH} ] && \ + (head -3 ${WISH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1 +then + rm -f ${PKG_PREFIX}/bin/wish +fi diff --git a/x11-toolkits/tk84/pkg-deinstall.wish b/x11-toolkits/tk84/pkg-deinstall.wish new file mode 100644 index 000000000000..20ca9e8436c4 --- /dev/null +++ b/x11-toolkits/tk84/pkg-deinstall.wish @@ -0,0 +1,22 @@ +#! /bin/sh +# +# Remove the ${PREFIX}/bin/wish script that gets installed by INSTALL.wish +# if we are the last wish installation to be pkg_delete'd. +# +# $FreeBSD$ +# + +# +# Explicitly listing /usr/X11R6/bin here is debatable. +# +BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin" +WISH=${PKG_PREFIX}/bin/wish + +wishes=$(/bin/ls ${BINDIR} 2> /dev/null | \ + egrep '^o?wish(step)?(x|([0-9]+\.[0-9]+))([a-z][a-z])?$') + +if [ "$wishes" = "" -a -f ${WISH} ] && \ + (head -3 ${WISH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1 +then + rm -f ${PKG_PREFIX}/bin/wish +fi |