summaryrefslogtreecommitdiffstats
path: root/compat32-tools/massconvert32.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compat32-tools/massconvert32.sh')
-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