source: lmd/trunk/fuentes/lmd-lliurex-data.install/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/094-lliurex @ 928

Last change on this file since 928 was 928, checked in by mabarracus, 5 years ago

wip

File size: 805 bytes
Line 
1case "$MODE" in
2        finalization)
3        case "$CHROOT" in
4                'llx-client' | 'llx-lite' | 'llx-musica' | 'llx-pime' | ' llx-infantil' | 'llx-desktop')
5                cp /usr/share/lliurex-apt/skels/client.list $ROOT/etc/apt/sources.list
6                ;;
7                *)
8                cp /etc/apt/sources.list $ROOT/etc/apt/sources.list
9                cp /etc/apt/sources.list.d/*.list $ROOT/etc/apt/sources.list.d/ || true
10                ;;
11        esac
12
13        [ ! -d /opt/ltsp/$CHROOT/net/mirror/llx1605 ] || umount -l /opt/ltsp/$CHROOT/net/mirror/llx1605
14        # Working about nsswitch and friends
15        if [ -f /opt/ltsp/$CHROOT/etc/ldap.conf ] ; then
16                rm -f /opt/ltsp/$CHROOT/etc/ldap.conf
17                touch /opt/ltsp/$CHROOT/root/etc.ldap.conf
18        fi
19        if [ -f /opt/ltsp/$CHROOT/etc/ldap/ldap.conf ] ; then
20                rm -f /opt/ltsp/$CHROOT/etc/ldap/ldap.conf
21                touch /opt/ltsp/$CHROOT/root/etc.ldap.ldap.conf
22        fi
23        ;;
24esac
25
26
Note: See TracBrowser for help on using the repository browser.