summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/make_mdkinst_stage22
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make_mdkinst_stage2 b/tools/make_mdkinst_stage2
index bcd957d17..226201f60 100755
--- a/tools/make_mdkinst_stage2
+++ b/tools/make_mdkinst_stage2
@@ -38,7 +38,7 @@ $SUDO cp -a $DEST/* $STAGE2TMP
# hack to reduce the STAGE2 image (do not edit without modifying in DrakX)
# be sure to keep the biggest server
rm -f $STAGE2TMP/usr/X11R6/bin/XF86_{VGA16,3DLabs,TGA,S3}
-rm -f $STAGE2TMP/lib/modules.cz-2.2*
+rm -f `ls --sort=size $STAGE2TMP/lib/modules.cz-2.2* | perl -ne 'print if $i++'`
rm -f $STAGE2TMP/$REP4PMS/po/DrakX.pot
#for i in /usr/share/locale; do \
# name=`basename $i` ; \