=== shadeslayer is now known as shadeslayer_ === shadeslayer_ is now known as shadeslayer [16:57] in a script called from late_command, (and in a chroot /target) how can I tell what release is being installed? [16:58] I use the same script for all, and have various "elif [ -f /etc/gdm/gdm.conf-custom ]; then" which I think would be better if I checked release [17:02] debconf-get mirror/suite # but do that outside the chroot/target and pass it in using an environment variable or whatever [17:02] thanks === shadeslayer_ is now known as shadeslayer [19:19] d-i preseed/late_command string cd /target/tmp && wget http://$url/lc/late.sh && chmod u+x late.sh && chroot /target /tmp/late.sh $(debconf-get mirror/suite) $(debconf-get passwd/username) [19:20] when does $() get evaluated? [19:22] and given I the answer seems to be "too early" what should I do? I am guessing either quote it or wrap late.sh in another script that does what I want