From a4e9315d1a1708d6dd6c5d4573a9a2c8bbe8b242 Mon Sep 17 00:00:00 2001 From: "Luiz Paulo \"Bills" Date: Wed, 3 Oct 2018 20:21:52 -0300 Subject: [PATCH] fix code style --- arch/install-config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/install-config.sh b/arch/install-config.sh index 2119f46..f0a0398 100755 --- a/arch/install-config.sh +++ b/arch/install-config.sh @@ -12,13 +12,13 @@ if [ $(id -u) -ne 0 ]; then fi # Use Qi to check for exact package name -if [ ! pacman -Qi xrdp > /dev/null ]; then +if ! pacman -Qi xrdp > /dev/null ; then echo 'xrdp not installed. Run makepkg.sh first to install xrdp.' >&2 exit 1 fi # Use Qs to allow xorgxrdp-devel-git -if [ ! pacman -Qs xorgxrdp > /dev/null ]; then +if ! pacman -Qs xorgxrdp > /dev/null ; then echo 'xorgxrdp not installed. Run makepkg.sh first to install xorgxrdp.' >&2 exit 1 fi @@ -56,7 +56,7 @@ if [ ! -e /etc/modules-load.d/hv_sock.conf ]; then fi # Configure the policy xrdp session -cat >/etc/polkit-1/rules.d/02-allow-colord.rules < /etc/polkit-1/rules.d/02-allow-colord.rules <