diff --git a/client/postinstall.sh b/client/postinstall.sh old mode 100644 new mode 100755 index e82bcd3..f2a5b39 --- a/client/postinstall.sh +++ b/client/postinstall.sh @@ -1,3 +1,10 @@ +#!/usr/bin/env bash + +if [[ $(uname -m) == "x86_64" ]]; then + echo "Not running on RPi - Skipping postinstall" + exit 0 +fi + grep -qxF "apt update" /etc/rc.local if [ $? -ne 0 ]; then echo "adding apt update to rc.local"