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:
parent
3d12947b72
commit
8383299751
|
@ -281,8 +281,10 @@ gentoo()
|
||||||
echo "Installing git..."
|
echo "Installing git..."
|
||||||
sudo emerge dev-vcs/git
|
sudo emerge dev-vcs/git
|
||||||
fi
|
fi
|
||||||
|
if [ -z "$(which fusermount)" ]; then
|
||||||
echo "Installing fuse..."
|
echo "Installing fuse..."
|
||||||
sudo emerge sys-fs/fuse
|
sudo emerge sys-fs/fuse
|
||||||
|
fi
|
||||||
if [ "$2" == "qemu" ]; then
|
if [ "$2" == "qemu" ]; then
|
||||||
if [ -z "$(which qemu-system-x86_64)" ]; then
|
if [ -z "$(which qemu-system-x86_64)" ]; then
|
||||||
echo "Please install QEMU and re-run this script"
|
echo "Please install QEMU and re-run this script"
|
||||||
|
|
Loading…
Reference in a new issue