From 0145b7684cb5abe86151748b80c0d549979a9f40 Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 29 Jan 2025 10:38:40 +0100 Subject: [PATCH] use update script for debian on raspbian --- scripts/update/update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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