-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script Wrote for adding chromium #149
Conversation
will chromium work on meilix ? 64 bit support only !! |
@xeon-zolt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a skeleton code which can guide further development.
@@ -36,6 +36,7 @@ def index(): | |||
email = request.form['email'] | |||
TRAVIS_TAG = request.form['TRAVIS_TAG'] | |||
event_url = request.form['event_url'] | |||
GENERATOR_ = request.form['GENERATOR_'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool.
To get all variables, you should be able to do something like
variables = {}
for name, value in request.form.items():
if name.startswith("GENERATOR_"):
variables[name] = value
@@ -0,0 +1,3 @@ | |||
#!/bin/bash | |||
if echo "$GENERATOR_package_chromium" | grep -q chromium; then | |||
sudo apt-get install -q -y chromium; fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep 👍
@@ -499,7 +499,7 @@ | |||
<tbody> | |||
<tr> | |||
<td>Chromium</td> | |||
<td><input type="checkbox"></td> | |||
<td><input name="GENERATOR_package_chromium" type="checkbox" value="chromium" id="chromium"></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am excited to see this in action one day.
Checklist
master
branch.Work on the issue #121