dont hardcode libfolder (use deb-file-gen script late to do ...

replace "<LIBDIR>" with Folder z.b. "/usr/lib/tt"
This commit is contained in:
6543 2019-05-11 23:30:02 +02:00
parent e28014cda2
commit 34f0e17859
2 changed files with 4 additions and 2 deletions

2
tools/db/bash-lib Normal file
View File

@ -0,0 +1,2 @@
#Bash-Library for TerabyteTerminator Project
LIBVER=1.1

View File

@ -43,8 +43,8 @@
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
source "$(readlink -f "$(dirname $0)/bash-lib")"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
elif [ -f "/usr/lib/tt/bash-lib" ]; then #<LIBDIR>
source "/usr/lib/tt/bash-lib"
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
source "<LIBDIR>/bash-lib"
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
else
echo "ERROR: Global Lib not found"