specs/amd64/livegui: fix quoting in polkit rules

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2022-03-03 08:24:36 -06:00
parent 8ac7a212f0
commit c237e1ff96
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7

View file

@ -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