forked from mir/linux-vm-tools
fix code style
This commit is contained in:
parent
0054c5730a
commit
021eb9122c
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# This script is for Arch Linux to configure XRDP for enhanced session mode
|
# This script is for Arch Linux to configure XRDP for enhanced session mode
|
||||||
#
|
#
|
||||||
@ -12,13 +11,13 @@ if [ $(id -u) -ne 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Use Qi to check for exact package name
|
# 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
|
echo 'xrdp not installed. Run makepkg.sh first to install xrdp.' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use Qs to allow xorgxrdp-devel-git
|
# 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
|
echo 'xorgxrdp not installed. Run makepkg.sh first to install xorgxrdp.' >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user