From fd3f63082713687f3eae56b3e40e4e0db877df87 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 6 Apr 2001 00:50:05 +0000 Subject: instead of removing modules.cz-2.2*, remove every modules.cz except the biggest one --- tools/make_mdkinst_stage2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/make_mdkinst_stage2') 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` ; \ -- cgit v1.2.1