Rev | Line | |
---|
[392] | 1 | case "$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 | |
---|
[928] | 13 | [ ! -d /opt/ltsp/$CHROOT/net/mirror/llx1605 ] || umount -l /opt/ltsp/$CHROOT/net/mirror/llx1605 |
---|
[392] | 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 | ;; |
---|
| 24 | esac |
---|
| 25 | |
---|
| 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.