2012-07-13 07:51:24 -04:00
|
|
|
#!/bin/sh
|
2012-01-18 21:21:56 -05:00
|
|
|
|
2013-02-01 13:33:20 -05:00
|
|
|
if [ -z "$GI_TYPELIB_PATH" ]; then
|
2012-01-18 21:21:56 -05:00
|
|
|
export GI_TYPELIB_PATH=@pkglibdir@
|
|
|
|
else
|
|
|
|
export GI_TYPELIB_PATH=@pkglibdir@:$GI_TYPELIB_PATH
|
|
|
|
fi
|
|
|
|
|
2013-02-01 13:33:20 -05:00
|
|
|
if [ -z "$LD_LIBRARY_PATH" ] ; then
|
2012-01-18 21:21:56 -05:00
|
|
|
export LD_LIBRARY_PATH=@pkglibdir@
|
|
|
|
else
|
|
|
|
export LD_LIBRARY_PATH=@pkglibdir@:$LD_LIBRARY_PATH
|
|
|
|
fi
|
|
|
|
|
|
|
|
@GJS_CONSOLE@ -I @pkgdatadir@/js -c "const Main = imports.extensionPrefs.main; Main.main(ARGV);" "$@"
|