summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-06-22 23:37:40 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-07-09 15:14:49 -0300
commit98c457c26f58cb134bad4e8cea7ccce9072d2384 (patch)
treefa638f41a07767d5195664d0c485b25c8b1c64b5 /archiso/mkarchiso
parenta7a100aabccaa555e7325f20d7f9c307ac059157 (diff)
downloadarchiso32-98c457c26f58cb134bad4e8cea7ccce9072d2384.tar.xz
[archiso] mark installed packages, after installing it, not before
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso5
1 files changed, 3 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 92b2a26..df9f49a 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -147,7 +147,7 @@ _show_config () {
# Install desired packages to root-image
_pacman ()
{
- _msg_info "Installing packages to '${work_dir}/root-image/'"
+ _msg_info "Installing packages to '${work_dir}/root-image/'..."
if [[ "${quiet}" = "y" ]]; then
mkarchroot -n -C "${pacman_conf}" -f "${work_dir}/root-image" $* &> /dev/null
@@ -157,6 +157,7 @@ _pacman ()
# Cleanup
find "${work_dir}" -name "*.pacnew" -name "*.pacsave" -name "*.pacorig" -delete
+ _msg_info "Packages installed successfully!"
}
# Cleanup root-image
@@ -374,8 +375,8 @@ command_create () {
_msg_info "These packages are already installed, skipping."
else
mkdir -p "${work_dir}/root-image/"
- : > "${work_dir}/create.${_pkg_list_hash}"
_pacman "${pkg_list}"
+ : > "${work_dir}/create.${_pkg_list_hash}"
fi
}