From eb6693901d70ad0635f544d5b9b7b91c8feab064 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 19 Oct 2008 23:08:34 -0500 Subject: Rename 'img' command to 'image' Additionally, remove the "all" command Signed-off-by: Aaron Griffin --- archiso/mkarchiso | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'archiso/mkarchiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index a13d805..2fcc361 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -23,7 +23,7 @@ usage () echo " commands:" echo " install : install packages to the working dir" echo " squash : generate a squashfs image of the working dir" - echo " img : build an image from the working dir" + echo " image : build an image from the working dir" exit $1 } @@ -55,7 +55,7 @@ imgname="" case "${command_name}" in install) work_dir="${2}"; imgname="none" ;; squash) work_dir="${2}"; imgname="${3}" ;; - img) work_dir="${2}"; imgname="${3}" ;; + image) work_dir="${2}"; imgname="${3}" ;; *) echo "invalid command name '${command_name}'"; usage 1 ;; esac @@ -173,7 +173,7 @@ command_squash () { echo "Image creation done in $minutes minutes." } -command_img () { +command_image () { echo "====> Making bootable image" if [ -e "${imgname}" ]; then if [ "${FORCE}" = "y" ]; then @@ -245,14 +245,14 @@ command_img () { # Go through the main commands in order. If 'all' was specified, then we want # to do everything. Start with 'install'. -if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then +if [ "${command_name}" = "install" ]; then command_install fi -if [ "${command_name}" = "squash" -o "${command_name}" = "all" ]; then +if [ "${command_name}" = "squash" ]; then command_squash fi -if [ "${command_name}" = "img" -o "${command_name}" = "all" ]; then - command_img +if [ "${command_name}" = "image" ]; then + command_image fi # vim:ts=4:sw=4:et: -- cgit v1.2.2