Better detection for Debian systems
authorSteve McIntyre <steve@einval.com>
Mon, 26 Feb 2018 17:36:14 +0000 (17:36 +0000)
committerSteve McIntyre <steve@einval.com>
Mon, 26 Feb 2018 17:36:14 +0000 (17:36 +0000)
abcde

diff --git a/abcde b/abcde
index fd710b4..cd37985 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -358,7 +358,7 @@ checkexec ()
                if [ "$(which $X 2>/dev/null)" = "" ]; then
                        log error "$X is not in your path." >&2
                        log info  "Define the full path to the executable if it exists on your system." >&2
-                       if [ -e /etc/debian_* ] ; then
+                       if [ -e /etc/debian_version ] ; then
                                case $X in
                                        oggenc)         MISSING_PACKAGE=vorbis-tools ;;
                                        lame|flac)      MISSING_PACKAGE=$X ;;