index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 22:40:36 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-10-19 22:40:36 -0500 |
commit | b4d60a7ccb59e5a8a76fff46c7090814769ccf49 (patch) | |
tree | 1120425987114cbc87708d59fb201b32e365f0ec /archiso | |
parent | 61d0a83113c1b2234153b0a3b71f664c334680d8 (diff) |
-rwxr-xr-x | archiso/mkarchiso | 11 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 088df7e..53c0aee 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -106,12 +106,13 @@ command_install () { mkdir -p "${work_dir}" - echo "Installing packages..." + if [ "${PKGLIST}" = "" ]; then + echo "error: no packages to install" + exit 1 + fi - for pkg in ${PKGLIST}; do - echo " Installing package '${pkg}'" - _pacman "${pkg}" - done + echo "Installing packages..." + _pacman "${PKGLIST}" if [ -d "${work_dir}/lib/modules/" ]; then echo "Updating kernel module dependencies" |