Skip to content
This repository has been archived by the owner on Jun 3, 2018. It is now read-only.

Commit

Permalink
hide cli-installer if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
philmmanjaro committed Sep 23, 2015
1 parent 8bea5d1 commit 267dfa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/manjaro-welcome
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 267dfa9

Please sign in to comment.