Changeset 535

Show
Ignore:
Timestamp:
05/16/08 18:04:25 (7 months ago)
Author:
free
Message:

Remove cdrom APT sources

Location:
cdd-utils/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/debian/changelog

    r533 r535  
    1515  * Fix ownership of /etc and /usr, they must be owned by root not bin 
    1616  * Support custom gdm theme 
     17  * Remove cdrom APT sources 
    1718 
    1819 -- Free Ekanayaka <free@64studio.com>  Thu, 08 May 2008 21:55:32 +0200 
  • cdd-utils/trunk/lib/system.sh

    r534 r535  
    7171        echo "deb http://apt.64studio.com/$suite/stable $mother main" > $list 
    7272    fi 
    73     # Comment the cdrom source, we install from the internet 
     73    # Remove the cdrom sources, we install from the internet 
    7474    if [ -e /etc/apt/sources.list ]; then 
    75         sed -i -e 's/^\(deb cdrom:.*\)/#\1/g' /etc/apt/sources.list 
     75        sed -i -e '/^.*deb cdrom:.*/ d' /etc/apt/sources.list 
    7676    fi 
    7777    if ! [ -e /proc/net/route ]; then 
    7878        mount /proc 
    7979    fi 
     80    if is_ubuntu; then return; fi # We are done 
    8081    if route -n | grep -q ^0.0.0.0; then 
    8182        apt-get update > /dev/null 2>&1