QGIS/debian/qgis.sh.in
Juergen E. Fischer 8b054e6661 debian packaging update:
* replace grass diversion with generic wrapper also supporting oracle
* update liblwgeom dependency for stretch and unstable
2016-02-04 02:00:01 +01:00

22 lines
431 B
Bash

#!/bin/sh
if dpkg -s qgis-plugin-grass >/dev/null; then
if [ "$LD_LIBRARY_PATH" = "" ]; then
LD_LIBRARY_PATH=/usr/lib/{GRASS}/lib
else
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/{GRASS}/lib
fi
fi
if dpkg -s qgis-oracle-provider >/dev/null; then
if [ "$LD_LIBRARY_PATH" = "" ]; then
LD_LIBRARY_PATH={ORACLE_LIBDIR}
else
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:{ORACLE_LIBDIR}
fi
fi
export LD_LIBRARY_PATH
exec $0.bin "$@"