=== modified file 'zsh-functions/confz_fs_init' --- zsh-functions/confz_fs_init 2015-04-21 00:00:13 +0000 +++ zsh-functions/confz_fs_init 2015-04-20 23:49:30 +0000 @@ -441,30 +441,15 @@ } -# install extlinux -confz_extlinux_check() { - checkvars directory - defvar install_touch_file $vars[directory]/.extlinux${${vars[device]}//\//.} - [[ -e $vars[install_touch_file] ]] - return $? -} - -confz_extlinux_do() { - extlinux -i -r $vars[directory] || return $? - touch $vars[install_touch_file] || return $? -} - - # install GRUB2 confz_grub2_check() { checkvars device defvar boot_directory /boot - defvar install_touch_file vars[boot_directory]/.grub2${${vars[device]}//\//.} - [[ -e $vars[install_touch_file] ]] + [[ -e $vars[boot_directory]/.grub2${${vars[device]}//\//.} ]] return $? } confz_grub2_do() { grub2-install --boot-directory=$vars[boot_directory] $vars[device] || return $? - touch $vars[install_touch_file] || return $? + touch $vars[boot_directory]/.grub2${${vars[device]}//\//.} || return $? }