From 4905e554129a7277050d6a46daf732625cf0ecf6 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Tue, 16 Oct 2012 05:11:04 +0200 Subject: [PATCH] op_osupgrade.sh: Minimal version of a Zenity Firmware updater tool --- recipes/pandora-system/pandora-scripts/op_osupgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 recipes/pandora-system/pandora-scripts/op_osupgrade.sh diff --git a/recipes/pandora-system/pandora-scripts/op_osupgrade.sh b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh new file mode 100644 index 0000000..b3053cc --- /dev/null +++ b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh @@ -0,0 +1,5 @@ +#!/bin/bash +zenity --question --title="Update Firmware OS" --text="This little tool helps you to keep your firmware OS up-to-date with the latest tweaks.\n\nPlease note that this is in TESTING state and\nmight break parts of your system with unstable packages!\n\nMake sure your Pandora is connected to the internet and click the Upgrade-Button.\n\n" --ok-label="Upgrade OS" --cancel-label="Quit" +opkg update 2>&1 | zenity --progress --auto-close --pulsate --title "Updating feedlist..." +opkg upgrade 2>&1 | zenity --text-info --title "Updating packages..." --width=600 +zenity --info --title="Upgrade complete" --text "All operations have been finished." \ No newline at end of file -- 2.39.5