File: qgis.sh

package info (click to toggle)
qgis 3.10.14+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 889,896 kB
  • sloc: cpp: 986,392; python: 156,157; xml: 12,700; perl: 3,286; sh: 2,637; ansic: 2,085; sql: 1,514; javascript: 1,363; yacc: 1,000; lex: 562; lisp: 411; makefile: 234
file content (17 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if dpkg -s qgis-plugin-grass >/dev/null 2>&1; then
	if [ "$LD_LIBRARY_PATH" = "" ]; then
		LD_LIBRARY_PATH=/usr/lib/grass78/lib
	else
		LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/grass78/lib
	fi
fi

export LD_LIBRARY_PATH

if [ -r /etc/default/qgis ]; then
	. /etc/default/qgis
fi

exec $0.bin $QGIS_OPTS "$@"