From d5e7e1485660a2597e5ed1046641f7ac532381fd Mon Sep 17 00:00:00 2001 From: hoek Date: Wed, 31 May 2000 18:31:17 +0000 Subject: Be aware of otclsh and tclsh8.1_r --- lang/tcl83/pkg-deinstall.tclsh | 2 +- lang/tcl83/pkg-install.tclsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/tcl83') diff --git a/lang/tcl83/pkg-deinstall.tclsh b/lang/tcl83/pkg-deinstall.tclsh index 07c6493..c48dc86 100644 --- a/lang/tcl83/pkg-deinstall.tclsh +++ b/lang/tcl83/pkg-deinstall.tclsh @@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin" TCLSH=${PKG_PREFIX}/bin/tclsh tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \ - egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$') + egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$') if [ "$tclshs" = "" -a -f ${TCLSH} ] && \ (head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1 diff --git a/lang/tcl83/pkg-install.tclsh b/lang/tcl83/pkg-install.tclsh index 9dec699..3b808e2 100644 --- a/lang/tcl83/pkg-install.tclsh +++ b/lang/tcl83/pkg-install.tclsh @@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version." echo echo "On your system, tclsh is installed under at least the following names:" echo -for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$') +for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$') do echo $name done -- cgit v1.1