Skip to content

Commit ddb089a

Browse files
committed
adjusting for latest raspberry pi os
1 parent 700980b commit ddb089a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

bin/install.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,12 @@ if [ "$ID" == "raspbian" ] && [ "$VERSION_ID" == "12" ]; then
622622
distversion=r12
623623
fi
624624

625+
if [ "$ID" == "debian" ] && [ "$VERSION_ID" == "13" ]; then
626+
dist='apt'
627+
distversion=r13
628+
fi
629+
630+
625631
if [ "$ID" == "ubuntu" ] && [ "$VERSION_ID" == "20.04" ]; then
626632
dist='apt'
627633
distversion='u20'
@@ -657,9 +663,9 @@ if [ "$dist" == "invalid" ]; then
657663
exit 9
658664
fi
659665

660-
if [ "$ID" != "raspbian" ] && [ "$ID" != "opensuse" ] && [ "$ID" != "raspbian" ] && [ "$VERSION_ID" != "24.04" ] && [ "$VERSION_ID" != "22.04" ] && [ "$VERSION_ID" != "20.04" ]; then
666+
if [ "$ID" != "raspbian" ] && [ "$ID" != "opensuse" ] && [ "$ID" != "raspbian" ] && [ "$VERSION_ID" != "24.04" ] && [ "$VERSION_ID" != "22.04" ] && [ "$VERSION_ID" != "20.04" ] && [ "$VERSION_ID" != "13" ] ; then
661667
outlog "ATTENTION: the latest versions of this script have been tested on:"
662-
outlog " - Raspbian OS"
668+
outlog " - Raspbian OS (up to trixie, release October 1st 2025)"
663669
outlog " - Ubuntu 20.04"
664670
outlog " - Ubuntu 22.04"
665671
outlog " - Ubuntu 24.04"

bin/status.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ else
186186
fi
187187

188188
if [ -f /var/tmp/dshield/skipvalue ]; then
189-
skip=$(cat /var/tmp/dshield/skipvalue)
189+
skip=$(cat /var/tmp/dshield/skipvalue | cut -f1 -d'.')
190190
if [ "$skip" == "" ]; then
191191
skip=1
192192
rm /var/tmp/dshield/skipvalue

0 commit comments

Comments
 (0)