Merge lp:~jibel/ubiquity/lp1712581 into lp:ubiquity

Proposed by Jean-Baptiste Lallement on 2017-08-24
Status: Merged
Approved by: Mathieu Trudel-Lapierre on 2017-09-06
Approved revision: 6552
Merged at revision: 6565
Proposed branch: lp:~jibel/ubiquity/lp1712581
Merge into: lp:ubiquity
Diff against target: 17 lines (+7/-0)
1 file modified
scripts/plugininstall.py (+7/-0)
To merge this branch: bzr merge lp:~jibel/ubiquity/lp1712581
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre 2017-08-24 Approve on 2017-09-06
Review via email: mp+329507@code.launchpad.net

Description of the change

This patch marks the files oem-config-prepare-gtk.desktop and oem-config-prepare-kde.desktop as trusted so it's handled as expected by nautilus (fixes lp:1712581)

To post a comment you must log in.
Mathieu Trudel-Lapierre (cyphermox) wrote :

Sounds good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/plugininstall.py'
2--- scripts/plugininstall.py 2017-07-18 15:21:41 +0000
3+++ scripts/plugininstall.py 2017-08-24 09:11:53 +0000
4@@ -1212,6 +1212,13 @@
5 '-o', 'oem', '-g', 'oem',
6 '/%s' % desktop_file,
7 '/home/oem/Desktop/%s' % desktop_base)
8+ install_misc.chrex(
9+ self.target,
10+ 'sudo', '-i', '-u', 'oem',
11+ 'dbus-run-session', '--',
12+ 'gio', 'set',
13+ '/home/oem/Desktop/%s' % desktop_base,
14+ 'metadata::trusted', 'true')
15 break
16
17 # Carry the locale setting over to the installed system.

Subscribers

People subscribed via source and target branches

to status/vote changes: