mirror of
https://github.com/whatyouhide/gotham-contrib.git
synced 2026-09-10 06:36:14 -04:00
Fix #34
I don't really know what I'm doing here. Just took this from this comment: https://github.com/whatyouhide/gotham-contrib/issues/34#issuecomment-394152104. Hopefully it works :)
This commit is contained in:
parent
89dd18df16
commit
85aaecfd4b
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
gnomeVersion="$(expr "$(gnome-terminal --version)" : '.* \(.*[.].*[.].*\)$')"
|
gnomeVersion="$(expr "$(gnome-terminal --version)" : '# GNOME Terminal \([[:digit:]]*[.][[:digit:]]*[.][[:digit:]]* \)')"
|
||||||
|
|
||||||
# newGnome=1 if the gnome-terminal version >= 3.8
|
# newGnome=1 if the gnome-terminal version >= 3.8
|
||||||
if [[ ("$(echo "$gnomeVersion" | cut -d"." -f1)" = "3" && \
|
if [[ ("$(echo "$gnomeVersion" | cut -d"." -f1)" = "3" && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue