autoupdate:

- extend the time for showing the popup to 20sec.
- cosmetics
This commit is contained in:
Stephan Raue 2010-04-13 16:09:41 +02:00
parent 9f5df7a4d6
commit 2a8a1bf5ab
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ if [ ! -f /var/lock/update.lock ]; then
sleep 30
send_message () {
xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1)"
xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1,20000)"
}
UPDATEURL="http://snapshots.openelec.tv"
@ -48,7 +48,7 @@ if [ ! -f /var/lock/update.lock ]; then
elif [ "$AUTOUPDATE" = "auto" ]; then
# show a message if a new version is avaible
send_message "New update avaible: r$NEW_VERSION - downloading the new version"
send_message "New update avaible: r$NEW_VERSION - downloading and extract the new version..."
# downloading the new version
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp

View File

@ -13,7 +13,7 @@ if [ ! -f /var/lock/update.lock ]; then
sleep 30
send_message () {
xbmc-send --host=127.0.0.1 -a "Notification(Automatic update service:,$1)"
xbmc-send --host=127.0.0.1 -a "Notification(Automatic Update Service:,$1,20000)"
}
UPDATEURL="http://releases.openelec.tv"
@ -55,7 +55,7 @@ if [ ! -f /var/lock/update.lock ]; then
elif [ "$AUTOUPDATE" = "auto" ]; then
# show a message if a new version is avaible
send_message "New update avaible: $NEW_VERSION - downloading the new version"
send_message "New update avaible: $NEW_VERSION - downloading and extract the new version..."
# downloading the new version
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp