From: data Date: Thu, 22 Mar 2007 21:39:30 +0000 (+0000) Subject: Corrected a missing if/fi X-Git-Url: https://git.hcoop.net/clinton/abcde.git/commitdiff_plain/7dd0b67a5927a99a69403045aa0cfc5bf0f3ebfb Corrected a missing if/fi git-svn-id: http://abcde.googlecode.com/svn/trunk@232 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- diff --git a/abcde b/abcde index ab379ae..da550a2 100755 --- a/abcde +++ b/abcde @@ -362,11 +362,11 @@ checkexec () log info "Define the full path to the executable if it exists on your system." >&2 if [ -e /etc/debian_release ] ; then case $X in - oggenc) MISSING_PACKAGE=vorbis-tools ;; - lame) MISSING_PACKAGE=lame ;; - flac) MISSING_PACKAGE=flac ;; + oggenc) MISSING_PACKAGE=vorbis-tools ;; + lame|flac) MISSING_PACKAGE=$X ;; esac log info "Hint: apt-get install $MISSING_PACKAGE" >&2 + fi exit 1 elif [ ! -x "$(which $X)" ]; then log error "$X is not executable." >&2