File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -379,8 +379,6 @@ def softwareinstall():
379379 warn_exit ("Apt failed to install TSLIB!" )
380380 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" ):
381381 warn_exit ("Apt failed to install software!" )
382- if not shell .run_command ("apt-get install -y raspi-config" ):
383- warn_exit ("Apt failed to install raspi-config!" )
384382 return True
385383
386384def uninstall_bootconfigtxt ():
@@ -577,7 +575,8 @@ def uninstall_console():
577575 print ("Restoring Desktop Environment..." )
578576 shell .run_command ("apt-get -y install rpd-plym-splash" ) # Install Splash Screen
579577 shell .run_command ("raspi-config nonint do_boot_splash 0" ) # Enable Splash Screen
580- shell .run_command ("apt-get -y install raspberrypi-ui-mods" ) # Reinstall Raspberry Pi OS UI mods
578+ if not shell .is_minimum_version ("trixie" ):
579+ shell .run_command ("apt-get -y install raspberrypi-ui-mods" ) # Reinstall Raspberry Pi OS UI mods
581580 shell .run_command ("raspi-config nonint do_boot_target B2" ) # Boot to Desktop
582581
583582 if shell .exists ("/etc/systemd/system/con2fbmap.service" ):
You can’t perform that action at this time.
0 commit comments