Commit e57d9710 authored by Alessandro Elias's avatar Alessandro Elias
Browse files

Merge branch 'issue/386' into 'master'

SCRUM#386: Fix path to control ubiquity installation

See merge request !19
parents e4f9ff3e a591a5d3
Pipeline #14687 passed with stages
in 24 minutes and 15 seconds
......@@ -132,7 +132,7 @@ EOF
mountpoints > /tmp/mount.post
update_mtab
cp /etc/default/version /target/etc/default
cp /etc/default/version /target/etc/default/
# Try to enable proxy when using HTTP.
# What about using ftp_proxy for FTP sources?
RET=$(debconf-get mirror/protocol || true)
......
ubiquity (2.21.65.1) testing; urgency=medium
* Fix path to control ubiquity installation.
-- Daniel Bissani Furlin <dbf15@inf.ufpr.br> Mon, 05 Mar 2018 19:27:37 -0300
ubiquity (2.21.65.0) testing; urgency=medium
 
* Add multiseat screen.
......
......@@ -48,16 +48,14 @@ class PageGtk(plugin.PluginUI):
self.page = builder.get_object('stepMultiseat')
self.install_ubuntu = builder.get_object('singleseat_button')
self.try_ubuntu = builder.get_object('multiseat_button')
with open("/etc/default/multiseat", "w") as f:
f.write("Singleseat")
os.system("echo 'Singleseat' > /etc/default/multiseat")
def multiseat(*args):
with open("/etc/default/multiseat", "w") as f:
f.write("Multiseat")
os.system("echo 'Multiseat' > /etc/default/multiseat")
def singlseat(*args):
with open("/etc/default/multiseat", "w") as f:
f.write("Singleseat")
os.system("echo 'Singleseat' > /etc/default/multiseat")
self.install_ubuntu.connect('clicked', singlseat)
self.try_ubuntu.connect('clicked', multiseat)
self.try_install_text_label = builder.get_object(
......
......@@ -48,16 +48,13 @@ class PageGtk(plugin.PluginUI):
self.page = builder.get_object('stepVersion')
self.install_ubuntu = builder.get_object('particular_button')
self.try_ubuntu = builder.get_object('school_button')
with open("/etc/default/version", "w") as f:
f.write("Escola")
os.system("echo 'Escola' > /etc/default/version")
def priv(*args):
with open("/etc/default/version", "w") as f:
f.write("Particular")
os.system("echo 'Particular' > /etc/default/version")
def publ(*args):
with open("/etc/default/version", "w") as f:
f.write("Escola")
os.system("echo 'Escola' > /etc/default/version")
self.install_ubuntu.connect('clicked', priv)
self.try_ubuntu.connect('clicked', publ)
self.try_install_text_label = builder.get_object(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment