Subversion Repositories livecd

Rev

Rev 211 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 211 Rev 215
Line 306... Line 306...
306
    mv -v /usr/share/doc/ghostscript-*    /mini/usr/share/doc 2>/dev/null
306
    mv -v /usr/share/doc/ghostscript-*    /mini/usr/share/doc 2>/dev/null
307
    mv -v /usr/share/doc/gnuplot-*        /mini/usr/share/doc 2>/dev/null
307
    mv -v /usr/share/doc/gnuplot-*        /mini/usr/share/doc 2>/dev/null
308
    mv -v /usr/share/doc/ImageMagick-*    /mini/usr/share/doc 2>/dev/null
308
    mv -v /usr/share/doc/ImageMagick-*    /mini/usr/share/doc 2>/dev/null
309
    mv -v /usr/share/doc/isdn4k-utils-*   /mini/usr/share/doc 2>/dev/null
309
    mv -v /usr/share/doc/isdn4k-utils-*   /mini/usr/share/doc 2>/dev/null
310
    mv -v /usr/share/doc/sane-backends-*  /mini/usr/share/doc 2>/dev/null
310
    mv -v /usr/share/doc/sane-backends-*  /mini/usr/share/doc 2>/dev/null
-
 
311
    mv -v /usr/share/doc/libsigc++20-*    /mini/usr/share/doc 2>/dev/null
-
 
312
    mv -v /usr/share/doc/selinux-policy-* /mini/usr/share/doc 2>/dev/null
311
 
313
 
312
    mkdir -p /mini/usr/share/backgrounds/images
314
    mkdir -p /mini/usr/share/backgrounds/images
313
    mv -v /usr/share/backgrounds/images/*.gz /mini/usr/share/backgrounds/images/ 2>/dev/null
315
    mv -v /usr/share/backgrounds/images/*.gz /mini/usr/share/backgrounds/images/ 2>/dev/null
314
    
316
    
315
    # move zipped java source to /mini, if j2sdk is installed
317
    # move zipped java source to /mini, if j2sdk is installed
Line 478... Line 480...
478
	# the above may not work for SL4, this should work
480
	# the above may not work for SL4, this should work
479
	sed -i.ori "s|exec evolution|exec thunderbird|" /usr/bin/launchmail
481
	sed -i.ori "s|exec evolution|exec thunderbird|" /usr/bin/launchmail
480
    fi
482
    fi
481
fi
483
fi
482
 
484
 
-
 
485
### fix a bug in dag's gparted
-
 
486
if [ -e /usr/bin/run-gparted ]; then
-
 
487
    grep -q "/bin/bash" /usr/bin/run-gparted
-
 
488
    if [ "$?" != "0" ]; then
-
 
489
	echo '#!/bin/bash'        > /usr/bin/run-gparted
-
 
490
	echo '/usr/sbin/gparted' >> /usr/bin/run-gparted
-
 
491
	chmod 755 /usr/bin/run-gparted
-
 
492
    fi
-
 
493
fi
-
 
494
 
483
echo "done."
495
echo "done."
484
echo "--------------------------------------------"
496
echo "--------------------------------------------"
485
 
497
 
486
 
498
 
487
 
499