From: Bastian Dehn Date: Tue, 15 Jul 2025 16:17:07 +0000 (+0200) Subject: change library with libs X-Git-Tag: v1.0.0^2~52^2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=76bbd57a2c57da216d4f16e44b2b3683fa54ce51;p=albentohandy.git change library with libs --- diff --git a/albentohandy b/albentohandy index 70a12e0..7e75f5a 100755 --- a/albentohandy +++ b/albentohandy @@ -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" \