diff --git a/snipeit.sh b/snipeit.sh index 3f93a35da5..d70365e4f0 100755 --- a/snipeit.sh +++ b/snipeit.sh @@ -115,7 +115,6 @@ install_packages () { fi done; ;; - centos) for p in $PACKAGES; do if yum list installed "$p" >/dev/null 2>&1; then @@ -551,9 +550,9 @@ case $distro in exit 1 fi ;; - raspbian) - if [ "$version" == "9.4" ]; then - # Install for Raspbian 9.4 + raspbian) + if [[ "$version" =~ ^9 ]]; then + # Install for Raspbian 9.x tzone=$(cat /etc/timezone) cat >/etc/apt/sources.list.d/10-buster.list <