summaryrefslogtreecommitdiffstats
path: root/compat32-tools
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-10-15 09:17:30 +0000
committer Eric Hameleers <alien@slackware.com>2013-10-15 09:17:30 +0000
commit43f715090fb488024cf87181273d22d2e3a2c635 (patch)
treea0d58bded715e5155c630bb14831ec47906eb537 /compat32-tools
parentd03b3ac18e549bb3cccb01e876b7ae0196d85968 (diff)
downloadmultilib-43f715090fb488024cf87181273d22d2e3a2c635.tar.gz
multilib-43f715090fb488024cf87181273d22d2e3a2c635.tar.xz
Also remove the package metadata if a newer -compat32 package is built
Diffstat (limited to 'compat32-tools')
-rwxr-xr-xcompat32-tools/massconvert32.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat32-tools/massconvert32.sh b/compat32-tools/massconvert32.sh
index e4b7cb3..7810f89 100755
--- a/compat32-tools/massconvert32.sh
+++ b/compat32-tools/massconvert32.sh
@@ -230,7 +230,7 @@ function conv_pkg () {
if [ -n "$FILE_TO_REMOVE" ]; then
# This is where we delete an older version of the -compat32 package:
- rm $FILE_TO_REMOVE
+ rm $(echo $FILE_TO_REMOVE | rev | cut -d. -f2- | rev).*
FILE_TO_REMOVE=""
fi
fi