summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/linhes_update.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-11-24 20:47:59 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-11-24 20:47:59 (GMT)
commitdb7dcf4f7bf11e1923df097711aaf9ad6147077c (patch)
tree455a066175129d6f36cb5cfc4ee56b5a1c54ebbb /abs/core/LinHES-system/linhes_update.sh
parent5097ada4a8f48fcaadf132a1043b7ab74adca0be (diff)
downloadlinhes_pkgbuild-db7dcf4f7bf11e1923df097711aaf9ad6147077c.zip
linhes_pkgbuild-db7dcf4f7bf11e1923df097711aaf9ad6147077c.tar.gz
linhes_pkgbuild-db7dcf4f7bf11e1923df097711aaf9ad6147077c.tar.bz2
LinHES-system: lh_system_backup_job: update sed to only change first match for status description
linhes_update: add some description texts and update some osd msgs
Diffstat (limited to 'abs/core/LinHES-system/linhes_update.sh')
-rw-r--r--abs/core/LinHES-system/linhes_update.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/linhes_update.sh b/abs/core/LinHES-system/linhes_update.sh
index 87ac8a1..aa80d41 100644
--- a/abs/core/LinHES-system/linhes_update.sh
+++ b/abs/core/LinHES-system/linhes_update.sh
@@ -6,7 +6,7 @@ dsply () {
then
msg_client.py --clear --tag "checkUpdates"
msg_client.py --kill
- msg_client.py --msg "Updates available!\nExit and re-enter Service Menu\nto install the updates.|middle"
+ msg_client.py --msg "Updates available!\nGo to the Service Menu to install the updates.|middle"
exit
else
msg_client.py --msg "Checking for updates...|middle" --timeout 600 --tag "checkUpdates"
@@ -20,7 +20,7 @@ chck () {
then
msg_client.py --clear --tag "checkUpdates"
msg_client.py --kill
- msg_client.py --msg "No updates available.|middle"
+ msg_client.py --msg "No updates available.\nReturning to Main Menu.|middle"
else
mv /usr/share/mythtv/themes/defaultmenu/linhes.xml /tmp/linhes.xml.tmp
sed -e '/\#Check/,/\#Check/d' < /tmp/linhes.xml.tmp > /usr/share/mythtv/themes/defaultmenu/linhes.xml
@@ -30,6 +30,7 @@ chck () {
echo " <button>" >> /tmp/linhes.xml.tmp
echo " <type>UPGRADE</type>" >> /tmp/linhes.xml.tmp
echo " <text>Updates Available</text>" >> /tmp/linhes.xml.tmp
+ echo " <description>Updates for the LinHES system</description>" >> /tmp/linhes.xml.tmp
echo " <action>MENU update2.xml</action>" >> /tmp/linhes.xml.tmp
echo " </button>" >> /tmp/linhes.xml.tmp
echo "<!--#UpdatesAvailable-->" >> /tmp/linhes.xml.tmp
@@ -45,6 +46,7 @@ chck () {
echo " <button>" >> /tmp/update3.xml.tmp
echo " <type>UPGRADE</type>" >> /tmp/update3.xml.tmp
echo " <text>REBOOT REQUIRED</text>" >> /tmp/update3.xml.tmp
+ echo " <description>Some packages require a reboot</description>" >> /tmp/update3.xml.tmp
echo " <action>NONE</action>" >> /tmp/update3.xml.tmp
echo " </button>" >> /tmp/update3.xml.tmp
fi