Subversion Repositories livecd

Rev

Rev 33 | Rev 52 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 41
Line 721... Line 721...
721
if [ -x /usr/bin/updatedb ]; then
721
if [ -x /usr/bin/updatedb ]; then
722
    echo "Run updatedb..."
722
    echo "Run updatedb..."
723
    . /etc/updatedb.conf 2>/dev/null
723
    . /etc/updatedb.conf 2>/dev/null
724
    rpm -q mlocate >/dev/null
724
    rpm -q mlocate >/dev/null
725
    if [ "$?" = "0" ]; then
725
    if [ "$?" = "0" ]; then
726
	/usr/bin/updatedb -e "/media /sfs /tmp /boot /livecd /home /net"
726
	/usr/bin/updatedb -e "/media /sfs /tmp /boot /livecd /home /net /trunk"
727
    else
727
    else
728
	/usr/bin/updatedb -e /media,/tmp,/boot,/livecd,/home,/net
728
	/usr/bin/updatedb -e /media,/tmp,/boot,/livecd,/home,/net,/trunk
729
    fi
729
    fi
730
    echo "done."
730
    echo "done."
731
fi
731
fi
732
 
732
 
733
### run prelink
733
### run prelink