Skip to content

Commit b2d412f

Browse files
committed
Forgot to save this before committing
1 parent 361b468 commit b2d412f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit-pitft.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ def uninstall_console():
575575
print("Restoring Desktop Environment...")
576576
shell.run_command("apt-get -y install rpd-plym-splash") # Install Splash Screen
577577
shell.run_command("raspi-config nonint do_boot_splash 0") # Enable Splash Screen
578-
#shell.run_command("apt-get -y install raspberrypi-ui-mods") # Reinstall Raspberry Pi OS UI mods
578+
if not shell.is_minumum_version("trixie"):
579+
shell.run_command("apt-get -y install raspberrypi-ui-mods") # Reinstall Raspberry Pi OS UI mods
579580
shell.run_command("raspi-config nonint do_boot_target B2") # Boot to Desktop
580581

581582
if shell.exists("/etc/systemd/system/con2fbmap.service"):

0 commit comments

Comments
 (0)