- Fixes install issue of kinto xkeysnail implementation on manjaro. Adds gcc check, closes #168.

This commit is contained in:
Ben Reaves
2020-05-11 19:30:19 -05:00
parent 5a12521b58
commit 7de111726b
3 changed files with 45 additions and 41 deletions

View File

@@ -120,9 +120,9 @@ if [[ $1 == "1" || $1 == "2" || $1 == "3" || $1 == "winmac" || $1 == "mac" || $1
sudo ./system-config/unipkg.sh "$pydev"
fi
fi
if ! [ -x "$(command -v xhost)" ]; then
if ! [ -x "$(command -v xhost)" ] || ! [ -x "$(command -v gcc)" ]; then
if [ "$distro" == "\"manjaro linux\"" ]; then
sudo ./system-config/unipkg.sh xorg-xhost
sudo ./system-config/unipkg.sh "xorg-xhost gcc"
fi
fi
# echo "Transferring files..."