From: Michael Mrozek Date: Tue, 16 Oct 2012 11:58:47 +0000 (+0200) Subject: op_osupgrade.sh: Added lockfile X-Git-Tag: sz_152~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=0f9ccccd835ca7f25a2a1e643cf9a83ae3714d7e op_osupgrade.sh: Added lockfile --- diff --git a/recipes/pandora-system/pandora-scripts/op_osupgrade.sh b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh index b3053cc..af57350 100644 --- a/recipes/pandora-system/pandora-scripts/op_osupgrade.sh +++ b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh @@ -1,5 +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 +opkg update 2>&1 | tee /tmp/upgrade.log | zenity --progress --auto-close --pulsate --title "Updating feedlist..." +opkg upgrade 2>&1 | tee -a /tmp/upgrade.log | zenity --text-info --title "Updating packages..." --width=600 +zenity --info --title="Upgrade complete" --text "All operations have been finished.\n\nYou can find a logfile in /tmp/upgrade.log" \ No newline at end of file