]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
change library with libs
authorBastian Dehn <hhaalo@arcor.de>
Tue, 15 Jul 2025 16:17:07 +0000 (18:17 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 15 Jul 2025 16:17:07 +0000 (18:17 +0200)
albentohandy

index 70a12e0c1bd683533d4e273fef1e1aac2c6c436a..7e75f5aead150e33db3d035d17402cb1f561d0ce 100755 (executable)
@@ -32,26 +32,26 @@ OPTIONS
 
 load_libraries()
 {
-       [ -n "$BASHLIBS" ] \
-               || errlog "missing BASHLIBS" \
+       [ -n "$LIBS" ] \
+               || errlog "missing LIBS" \
                || return $?
-       [ -f "$BASHLIBS/voribs.sh" ] \
+       [ -f "$LIBS/voribs.sh" ] \
                || errlog "library vorbis.sh not found" \
                || return $?
-       [ -f "$BASHLIBS/mp3.sh" ] \
+       [ -f "$LIBS/mp3.sh" ] \
                || errlog "library mp3.sh not found" \
                || return $?
-       [ -f "$BASHLIBS/opus.sh" ] \
+       [ -f "$LIBS/opus.sh" ] \
                || errlog "library opus.sh not found" \
                || return $?
-       [ -f "$BASHLIBS/flac.sh" ] \
+       [ -f "$LIBS/flac.sh" ] \
                || errlog "library flac.sh not found" \
                || return $?
 
-       source "$BASHLIBS/voribs.sh"
-       source "$BASHLIBS/mp3.sh"
-       source "$BASHLIBS/opus.sh"
-       source "$BASHLIBS/flac.sh"
+       source "$LIBS/voribs.sh"
+       source "$LIBS/mp3.sh"
+       source "$LIBS/opus.sh"
+       source "$LIBS/flac.sh"
 }
 
 cleanup_flac()
@@ -177,9 +177,9 @@ main()
 {
        local format=
 
-       load_libraries || return $?
        check_programms || return $?
        load_config || return $?
+       load_libraries || return $?
 
        [ -n "$MUSICPATH" ] \
                || errlog "missing MUSICPATH" \