21-usersetup: check for existing /bin/zsh inside the chroot
authorMichael Prokop <mika@grml.org>
Fri, 20 Jun 2014 09:20:39 +0000 (11:20 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 20 Jun 2014 09:22:52 +0000 (11:22 +0200)
commit184eabc67a016efb8b42364b1dab400ef72a00e0
tree6ec865f5578da648b9d8c97eb75c439dd98810f5
parent14ee437d07052138d1c6640bc2f5ab00c23afa3d
21-usersetup: check for existing /bin/zsh inside the chroot

/bin/zsh usually points to /etc/alternatives/zsh, but if
/etc/alternatives/zsh doesn't exist on the *build* system,
the test for existing /bin/zsh fails, so we need to verify
the existence of /bin/zsh *inside* the chroot.

Thanks: Krisztian VASAS <iron@ironiq.hu> for reporting the problem
Acked-by: Alexander Wirt <formorer@grml.org>
etc/grml/fai/config/scripts/GRMLBASE/21-usersetup