Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions adafruit-pitft.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,6 @@ def softwareinstall():
warn_exit("Apt failed to install TSLIB!")
if not shell.run_command("apt-get install -y bc fbi git python3-dev python3-pip python3-smbus python3-spidev evtest libts-bin device-tree-compiler build-essential python3-evdev"):
warn_exit("Apt failed to install software!")
if not shell.run_command("apt-get install -y raspi-config"):
warn_exit("Apt failed to install raspi-config!")
return True

def uninstall_bootconfigtxt():
Expand Down Expand Up @@ -577,7 +575,8 @@ def uninstall_console():
print("Restoring Desktop Environment...")
shell.run_command("apt-get -y install rpd-plym-splash") # Install Splash Screen
shell.run_command("raspi-config nonint do_boot_splash 0") # Enable Splash Screen
shell.run_command("apt-get -y install raspberrypi-ui-mods") # Reinstall Raspberry Pi OS UI mods
if not shell.is_minumum_version("trixie"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other PR merged so fix this?

Copy link
Contributor Author

@makermelissa makermelissa Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, other PR is merged and released. That line is only needed for Raspberry Pi OS earlier than Trixie.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the typo "minumum" on purpose?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof, I see it now. You are correct, it should be spelled minimum.

shell.run_command("apt-get -y install raspberrypi-ui-mods") # Reinstall Raspberry Pi OS UI mods
shell.run_command("raspi-config nonint do_boot_target B2") # Boot to Desktop

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