diff --git a/scripts/update/update.sh b/scripts/update/update.sh index a4677d5..773b234 100755 --- a/scripts/update/update.sh +++ b/scripts/update/update.sh @@ -4,7 +4,10 @@ # license: MIT # get distro and update script path -distro="$(grep "^ID" /etc/*release | cut -d "=" -f2)" +distro="$(grep "^ID=" /etc/*release | cut -d "=" -f2)" +if [[ "$distro" == "raspbian" ]]; then + distro="debian" +fi script="$(dirname $(realpath $0))/$distro.sh" # check if update script exists