3df3f0d9dc
There is nothing requiring bash specific features in this script, so just use /bin/sh which is portable amongst all Unices. https://bugzilla.gnome.org/show_bug.cgi?id=679847
16 lines
392 B
Bash
16 lines
392 B
Bash
#!/bin/sh
|
|
|
|
if [ -n "$GI_TYPELIB_PATH" ]; then
|
|
export GI_TYPELIB_PATH=@pkglibdir@
|
|
else
|
|
export GI_TYPELIB_PATH=@pkglibdir@:$GI_TYPELIB_PATH
|
|
fi
|
|
|
|
if [ -n "$LD_LIBRARY_PATH" ] ; then
|
|
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);" "$@"
|