[archiso] command_install() remove "already executed" logic

This is done better with run_once() in build.sh
This commit is contained in:
Gerardo Exequiel Pozzi 2014-06-28 00:35:51 -03:00
parent 9532a8c3a9
commit 12286e2712

View File

@ -329,14 +329,7 @@ command_install () {
_show_config install _show_config install
local _pkg_list_hash _pacman "${pkg_list}"
_pkg_list_hash=$(echo ${pkg_list} | sort -u | md5sum | cut -c1-32)
if [[ -f "${work_dir}/install.${_pkg_list_hash}" ]]; then
_msg_info "These packages are already installed, skipping."
else
_pacman "${pkg_list}"
: > "${work_dir}/install.${_pkg_list_hash}"
fi
} }
command_init() { command_init() {