Skip fuse install on gentoo if already installed

The bootstrap.sh script always installs fuse on gentoo. This small change just checks if it is already installed and skip it if so.
This commit is contained in:
Michel Boaventura 2017-07-26 21:14:18 -03:00 committed by GitHub
parent 3d12947b72
commit 8383299751

View file

@ -281,8 +281,10 @@ gentoo()
echo "Installing git..."
sudo emerge dev-vcs/git
fi
echo "Installing fuse..."
sudo emerge sys-fs/fuse
if [ -z "$(which fusermount)" ]; then
echo "Installing fuse..."
sudo emerge sys-fs/fuse
fi
if [ "$2" == "qemu" ]; then
if [ -z "$(which qemu-system-x86_64)" ]; then
echo "Please install QEMU and re-run this script"