diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-04-06 00:50:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-04-06 00:50:05 +0000 |
commit | fd3f63082713687f3eae56b3e40e4e0db877df87 (patch) | |
tree | 2eb5819b5b1854f1a05388c1997f8e338324dcf6 /tools | |
parent | 9751804098b01f6413629e9850ee3286c81e521b (diff) | |
download | drakx-backup-do-not-use-fd3f63082713687f3eae56b3e40e4e0db877df87.tar drakx-backup-do-not-use-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.gz drakx-backup-do-not-use-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.bz2 drakx-backup-do-not-use-fd3f63082713687f3eae56b3e40e4e0db877df87.tar.xz drakx-backup-do-not-use-fd3f63082713687f3eae56b3e40e4e0db877df87.zip |
instead of removing modules.cz-2.2*, remove every modules.cz except the
biggest one
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make_mdkinst_stage2 | 2 |
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` ; \ |