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:
parent
e28014cda2
commit
34f0e17859
2
tools/db/bash-lib
Normal file
2
tools/db/bash-lib
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Bash-Library for TerabyteTerminator Project
|
||||||
|
LIBVER=1.1
|
@ -43,8 +43,8 @@
|
|||||||
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
if [ -f "$(readlink -f "$(dirname $0)/bash-lib")" ]; then
|
||||||
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
source "$(readlink -f "$(dirname $0)/bash-lib")"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
||||||
elif [ -f "/usr/lib/tt/bash-lib" ]; then #<LIBDIR>
|
elif [ -f "<LIBDIR>/bash-lib" ]; then #<LIBDIR>
|
||||||
source "/usr/lib/tt/bash-lib"
|
source "<LIBDIR>/bash-lib"
|
||||||
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
[ $DEBUG == $TRUE ] && echo "LIB VERSION: $LIBVER"
|
||||||
else
|
else
|
||||||
echo "ERROR: Global Lib not found"
|
echo "ERROR: Global Lib not found"
|
||||||
|
Loading…
Reference in New Issue
Block a user