1
0
forked from mir/linux-vm-tools

fix code style

This commit is contained in:
Luiz Paulo "Bills 2018-10-03 20:12:15 -03:00 committed by GitHub
parent 4ed42fda4d
commit 0054c5730a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
# Update our machine to the latest code if we need to. # Update our machine to the latest code if we need to.
# #
if [ $(id -u) -ne 0 ] ; then if [ $(id -u) -ne 0 ]; then
echo 'This script must be run with root privileges' >&2 echo 'This script must be run with root privileges' >&2
exit 1 exit 1
fi fi
@ -83,7 +83,7 @@ systemctl enable xrdp.service
systemctl enable xrdp-sesman.service systemctl enable xrdp-sesman.service
# Configure the policy xrdp session # Configure the policy xrdp session
bash -c 'cat >/etc/polkit-1/localauthority.conf.d/02-allow-colord.conf <<EOF bash -c 'cat > /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf <<EOF
polkit.addRule(function(action, subject) { polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.color-manager.create-device" || if ((action.id == "org.freedesktop.color-manager.create-device" ||