commit:     c237e1ff96a6dcc2a40f7dc8303ed456ab50cd0e
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 14:24:36 2022 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 14:24:58 2022 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=c237e1ff

specs/amd64/livegui: fix quoting in polkit rules

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 releases/specs/amd64/livegui/files/fsscript-stage2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh 
b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index 7c11b074..b2cc2990 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -50,7 +50,7 @@ popd
 chown -R gentoo:users /home/gentoo
 
 # Let some tools run as root
-echo "polkit.addRule(function(action, subject) {
+echo 'polkit.addRule(function(action, subject) {
     if (action.id == "org.gnome.gparted") {
         return polkit.Result.YES;
     }
@@ -66,4 +66,4 @@ polkit.addRule(function(action, subject) {
     if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
         return polkit.Result.YES;
     }
-});" > /etc/polkit-1/rules.d/livegui-root-tools.rules
+});' > /etc/polkit-1/rules.d/livegui-root-tools.rules

Reply via email to