Changeset 6626


Ignore:
Timestamp:
Jan 17, 2018, 5:44:18 PM (21 months ago)
Author:
kbut
Message:

Only copy sourceslist when isn't ISO build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lmd/trunk/fuentes/lmd-lliurex-data.install/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/094-lliurex

    r3324 r6626  
    1212                ;;
    1313        finalization)
    14                 if [ "true" = "$LLIUREX_SOURCESLIST" ]; then
    15                         cp /etc/ltsp/sources/client.list $ROOT/etc/apt/sources.list
    16                 else
    17                         cp /etc/apt/sources.list $ROOT/etc/apt/sources.list
    18                         cp /etc/apt/sources.list.d/*.list $ROOT/etc/apt/sources.list.d/ || true
    19                 fi
     14                if [ "$ISOPATH" = "" ]; then
     15                        if [ "true" = "$LLIUREX_SOURCESLIST" ]; then
     16                                cp /etc/ltsp/sources/client.list $ROOT/etc/apt/sources.list
     17                        else
     18                                cp /etc/apt/sources.list $ROOT/etc/apt/sources.list
     19                                cp /etc/apt/sources.list.d/*.list $ROOT/etc/apt/sources.list.d/ || true
     20                        fi
     21               
     22                        [ ! -d /opt/ltsp/$CHROOT/net/mirror/llx16 ] || umount -l /opt/ltsp/$CHROOT/net/mirror/llx16
     23                fi
    2024
    21 
    22                 [ ! -d /opt/ltsp/$CHROOT/net/mirror/llx16 ] || umount -l /opt/ltsp/$CHROOT/net/mirror/llx16
    2325                # Working about nsswitch and friends
    2426                if [ -f /opt/ltsp/$CHROOT/etc/ldap.conf ] ; then
Note: See TracChangeset for help on using the changeset viewer.