summaryrefslogtreecommitdiffstats
path: root/source/compat32-tools/convertpkg-compat32
diff options
context:
space:
mode:
Diffstat (limited to 'source/compat32-tools/convertpkg-compat32')
-rwxr-xr-xsource/compat32-tools/convertpkg-compat326
1 files changed, 4 insertions, 2 deletions
diff --git a/source/compat32-tools/convertpkg-compat32 b/source/compat32-tools/convertpkg-compat32
index b6cc2b8..53e3c1e 100755
--- a/source/compat32-tools/convertpkg-compat32
+++ b/source/compat32-tools/convertpkg-compat32
@@ -181,7 +181,7 @@ fi
#
# Take special care of the following packages when stripping things:
-# gdk-pixbuf2, gtk+2, gtk+3, mesa, pango, samba, udev
+# gdk-pixbuf2, gtk+2, gtk+3, mesa, pango, polkit, samba, udev
#
# Stuff we need to keep, we move into KDEP/ and move it back later:
@@ -216,14 +216,16 @@ elif [ -d usr/bin ]; then
mv ./32 usr/bin/
fi
+# These are part of the 64-bit package:
if [ "$PKGNAM" = "udev" -o "$PKGNAM" = "eudev" ]; then
- # These are part of the 64-bit package:
rm -rf lib/firmware
rm -rf lib/modprobe.d
rm -rf lib/udev
rm -rf run
# Only in Slackware 13.37:
rm -rf usr/lib/ConsoleKit
+elif [ "$PKGNAM" = "polkit" ]; then
+ rm -rf usr/lib/polkit-1
fi
# Strip doinst.sh from everything we can't use: