summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-06 00:50:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-06 00:50:05 +0000
commitfd3f63082713687f3eae56b3e40e4e0db877df87 (patch)
tree2eb5819b5b1854f1a05388c1997f8e338324dcf6 /tools
parent9751804098b01f6413629e9850ee3286c81e521b (diff)
downloaddrakx-fd3f63082713687f3eae56b3e40e4e0db877df87.tar
drakx-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.gz
drakx-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.bz2
drakx-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.xz
drakx-fd3f63082713687f3eae56b3e40e4e0db877df87.zip
instead of removing modules.cz-2.2*, remove every modules.cz except the
biggest one
Diffstat (limited to 'tools')
-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` ; \