Correct run path for package manager installation

This commit is contained in:
Sebastian Riedel
2017-12-27 15:31:06 +01:00
parent f9a9074e56
commit c8db7ae4e4
+1 -1
View File
@@ -10,7 +10,7 @@ dir="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
echo "Located in ${dir}";
gbmpath='./';
#locate GBM.exe
if [ "${dir}" = '/bin' ] && [ -s '/usr/share/gbm/GBM.exe' ]; then
if [ "${dir}" = '/usr/bin' ] && [ -s '/usr/share/gbm/GBM.exe' ]; then
gbmpath='/usr/share/gbm/';
elif [ "${dir}" = '/usr/local/bin' ] && [ -s '/usr/local/share/gbm/GBM.exe' ]; then
gbmpath='/usr/local/share/gbm/';