From 267dfa981ca2ada69cc5e1bd8b5ae793b45ac91b Mon Sep 17 00:00:00 2001 From: Philip Date: Wed, 23 Sep 2015 21:48:31 +0200 Subject: [PATCH] hide cli-installer if not present --- src/manjaro-welcome | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/manjaro-welcome b/src/manjaro-welcome index ce9095c..649a37c 100755 --- a/src/manjaro-welcome +++ b/src/manjaro-welcome @@ -111,6 +111,9 @@ class ManjaroAppView(WebKit.WebView): if not os.path.exists("/usr/bin/calamares"): self.execute_script("$('#{}').hide()".format( 'install-calamares' if self._config._live else '#')) + if not os.path.exists("/usr/bin/setup"): + self.execute_script("$('#{}').hide()".format( + 'install-cli' if self._config._live else '#')) self.execute_script("$('#{}').hide()".format( 'buildmanjaro' if self._config._live else 'install-thus')) self.execute_script("$('#{}').hide()".format(