mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
autoupdate:
- extend the time for showing the popup to 20sec. - cosmetics
This commit is contained in:
parent
9f5df7a4d6
commit
2a8a1bf5ab
@ -13,7 +13,7 @@ if [ ! -f /var/lock/update.lock ]; then
|
|||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
send_message () {
|
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"
|
UPDATEURL="http://snapshots.openelec.tv"
|
||||||
@ -48,7 +48,7 @@ if [ ! -f /var/lock/update.lock ]; then
|
|||||||
elif [ "$AUTOUPDATE" = "auto" ]; then
|
elif [ "$AUTOUPDATE" = "auto" ]; then
|
||||||
|
|
||||||
# show a message if a new version is avaible
|
# 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
|
# downloading the new version
|
||||||
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp
|
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp
|
||||||
|
@ -13,7 +13,7 @@ if [ ! -f /var/lock/update.lock ]; then
|
|||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
send_message () {
|
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"
|
UPDATEURL="http://releases.openelec.tv"
|
||||||
@ -55,7 +55,7 @@ if [ ! -f /var/lock/update.lock ]; then
|
|||||||
elif [ "$AUTOUPDATE" = "auto" ]; then
|
elif [ "$AUTOUPDATE" = "auto" ]; then
|
||||||
|
|
||||||
# show a message if a new version is avaible
|
# 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
|
# downloading the new version
|
||||||
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp
|
wget -c $UPDATEURL/$NEW_IMAGE.tar.bz2 -P /tmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user