We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2c2a7 commit b913e5aCopy full SHA for b913e5a
.update/patches
@@ -2165,7 +2165,7 @@ Patch_9_12()
2165
fi
2166
2167
# RPi.GPIO => rpi-lgpio migration
2168
- if grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[69\]=2' /boot/dietpi/.installed
+ if (( $G_DISTRO > 6 )) && grep -q '^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[69\]=2' /boot/dietpi/.installed
2169
then
2170
G_DIETPI-NOTIFY 2 'Migrating from legacy RPi.GPIO to modern compatible rpi-lgpio Python 3 library ...'
2171
G_AGI python3-rpi-lgpio
0 commit comments