1 |
commit: c237e1ff96a6dcc2a40f7dc8303ed456ab50cd0e |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 3 14:24:36 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 3 14:24:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=c237e1ff |
7 |
|
8 |
specs/amd64/livegui: fix quoting in polkit rules |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
releases/specs/amd64/livegui/files/fsscript-stage2.sh | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
16 |
index 7c11b074..b2cc2990 100755 |
17 |
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
18 |
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
19 |
@@ -50,7 +50,7 @@ popd |
20 |
chown -R gentoo:users /home/gentoo |
21 |
|
22 |
# Let some tools run as root |
23 |
-echo "polkit.addRule(function(action, subject) { |
24 |
+echo 'polkit.addRule(function(action, subject) { |
25 |
if (action.id == "org.gnome.gparted") { |
26 |
return polkit.Result.YES; |
27 |
} |
28 |
@@ -66,4 +66,4 @@ polkit.addRule(function(action, subject) { |
29 |
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") { |
30 |
return polkit.Result.YES; |
31 |
} |
32 |
-});" > /etc/polkit-1/rules.d/livegui-root-tools.rules |
33 |
+});' > /etc/polkit-1/rules.d/livegui-root-tools.rules |