aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index db0c194..51ad486 100755
--- a/install
+++ b/install
@@ -20,7 +20,7 @@ CWD=$(pwd)
if [ "$(uname)" = 'Darwin' ]; then
echo 'detected Mac OS; installing Mac OS configuration...'
cd ~/.dotfiles/macos/ || exit
-elif [ "$(uname)" = 'Linux' ] && grep 'ID=gentoo' /etc/os-release; then
+elif [ "$(uname)" = 'Linux' ] && grep -q 'ID=gentoo' /etc/os-release; then
echo 'detected Gentoo; installing Gentoo configuration...'
cd ~/.dotfiles/gentoo/ || exit
else