=== modified file 'zsh-functions/confz_fs_init' --- zsh-functions/confz_fs_init 2015-06-22 14:42:16 +0000 +++ zsh-functions/confz_fs_init 2015-04-21 02:05:24 +0000 @@ -441,28 +441,18 @@ } -confz_syslinux_modules_check() { - checkvars directory - if ! [[ -e $vars[directory]/menu.c32 ]]; then - do_command=( cp -v /usr/share/syslinux/*.c32 $vars[directory]/ ) - return 1 - else - return 0 - fi -} - # install extlinux confz_extlinux_check() { checkvars directory defvar install_touch_file $vars[directory]/.extlinux_installed [[ -e $vars[directory]/extlinux.conf || -e $vars[directory]/syslinux.cfg ]] || \ die "no configuration file for extlinux found" - require syslinux_modules :directory [[ -e $vars[install_touch_file] ]] return $? } confz_extlinux_do() { + cp -v /usr/share/syslinux/*.c32 $vars[directory]/ || return $? extlinux -i -r $vars[directory] || return $? touch $vars[install_touch_file] || return $? }