summaryrefslogtreecommitdiff
path: root/support/autolatex/autolatex-gtk.sh
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/autolatex/autolatex-gtk.sh
Initial commit
Diffstat (limited to 'support/autolatex/autolatex-gtk.sh')
-rwxr-xr-xsupport/autolatex/autolatex-gtk.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/support/autolatex/autolatex-gtk.sh b/support/autolatex/autolatex-gtk.sh
new file mode 100755
index 0000000000..cc6469cb47
--- /dev/null
+++ b/support/autolatex/autolatex-gtk.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if which python3 2>/dev/null >/dev/null
+then
+ exec autolatex-config "$@"
+else
+ exec autolatex-gtk2 "$@"
+fi