Skip to content

Commit 76ea5f9

Browse files
committed
Update update-nodejs-and-nodered
1 parent f96e7c3 commit 76ea5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deb/update-nodejs-and-nodered

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ case $yn in
694694
$SUDO adduser $NODERED_USER gpio 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null
695695
FAM=$(cat /etc/issue | cut -d ' ' -f 1)
696696
ISS=$(cat /etc/issue | cut -d '/' -f 2 | cut -d ' ' -f 2)
697-
if [[ "$FAM" == "Raspbian" ]]; then
697+
if [[ "$FAM" == *"bian" ]]; then
698698
if (($ISS > 11)); then
699699
echo "Replace old rpi.gpio with lgpio" | $SUDO tee -a /var/log/nodered-install.log >>/dev/null
700700
$SUDO apt purge -y python3-rpi.gpio 2>&1 | $SUDO tee -a /var/log/nodered-install.log >>/dev/null

0 commit comments

Comments
 (0)