Skip to content

Commit 4fd2a22

Browse files
committed
less strict OS checking
1 parent c457380 commit 4fd2a22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if ! which apt-get apt-key > /dev/null; then
1515
fi
1616

1717
# You probably have these
18-
PREREQ_PACKAGES="curl apt-transport-https lsb-release"
18+
PREREQ_PACKAGES="curl apt-transport-https"
1919
PREREQ_PACKAGES_TO_INSTALL=
2020
for package in $PREREQ_PACKAGES; do
2121
if ! dpkg-query --show --showformat='${db:Status-Status}\n' "$package" 2> /dev/null | grep -q '^installed$'; then
@@ -28,7 +28,8 @@ if [ "$PREREQ_PACKAGES_TO_INSTALL" ]; then
2828
sudo apt-get -y install $PREREQ_PACKAGES_TO_INSTALL
2929
fi
3030

31-
if uname -a | grep -Eivq 'armv7|armv6'; then
31+
# By popular demand, do softer checking for other OS versions
32+
if uname -a | fgrep -ivq arm; then
3233
run_on_pi_only
3334
fi
3435

0 commit comments

Comments
 (0)