[archiso] command_install() remove "already executed" logic
This is done better with run_once() in build.sh
This commit is contained in:
parent
9532a8c3a9
commit
12286e2712
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user