Skip to content

Commit 597d117

Browse files
committed
Add upgrade function for 1.1.9 to 1.1.10 with printer-driver-all reinstallation
1 parent b9b0dc1 commit 597d117

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/upgrade.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,17 @@ EOF
504504
judge "Upgrade from 1.1.8 to 1.1.9 completed"
505505
}
506506

507+
function upgrade_119_to_1110() {
508+
print_ok "Upgrading from 1.1.9 to 1.1.10..."
509+
510+
print_ok "Reinstalling printer-driver-all to ensure all drivers are present"
511+
sudo apt remove -y printer-driver-all || true
512+
sudo apt install printer-driver-all -y # With recommends this time. Because only this way it installs the actual drivers
513+
judge "Reinstall printer-driver-all"
514+
515+
judge "Upgrade from 1.1.9 to 1.1.10 completed"
516+
}
517+
507518
function applyLsbRelease() {
508519

509520
# Update /etc/os-release

0 commit comments

Comments
 (0)