From b89e1ed94aa0ceb67aef4e04fb2b57b066aec2c0 Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Mon, 6 Apr 2020 21:12:22 -0300 Subject: [PATCH] Use rm -f when removing customize_airootfs.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 891b071..609190e 100755 --- a/build.sh +++ b/build.sh @@ -134,7 +134,7 @@ make_customize_airootfs() { curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on' setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -r '/root/customize_airootfs.sh' run - rm ${work_dir}/${arch}/airootfs/root/customize_airootfs.sh + rm -f ${work_dir}/${arch}/airootfs/root/customize_airootfs.sh } # Prepare kernel/initramfs ${install_dir}/boot/