From: hayao Date: Sat, 3 Oct 2020 15:08:00 +0000 (+0900) Subject: [update] : Remove useless functions X-Git-Tag: rc3-alpha1~161 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e56072ea9691f21b19ca2490e04df553f98251aa;p=alterlinux%2Falterlinux.git [update] : Remove useless functions --- diff --git a/allarch.sh b/allarch.sh index 04e79509..17c9e465 100755 --- a/allarch.sh +++ b/allarch.sh @@ -258,11 +258,6 @@ load_config() { done } -# 作業ディレクトリを削除 -remove_work() { - remove "${work_dir}" -} - # Display channel list show_channel_list() { if [[ "${nochkver}" = true ]]; then @@ -1460,6 +1455,6 @@ if [[ "${tarball}" = true ]]; then done fi [[ "${noiso}" = false ]] && run_once make_iso -[[ "${cleaning}" = true ]] && remove_work +[[ "${cleaning}" = true ]] && remove "${work_dir}" exit 0 diff --git a/build.sh b/build.sh index 03385696..91cb1db0 100755 --- a/build.sh +++ b/build.sh @@ -248,11 +248,6 @@ load_config() { done } -# 作業ディレクトリを削除 -remove_work() { - remove "${work_dir}" -} - # Display channel list show_channel_list() { if [[ "${nochkver}" = true ]]; then @@ -1517,6 +1512,6 @@ run_once make_efiboot [[ "${tarball}" = true ]] && run_once make_tarball [[ "${noiso}" = false ]] && run_once make_iso -[[ "${cleaning}" = true ]] && remove_work +[[ "${cleaning}" = true ]] && remove "${work_dir}" exit 0