mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-29 20:04:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
# Uprade
|
# Uprade
|
||||||
apt-get dist-upgrade &>/dev/null
|
echo "Updating distribution"
|
||||||
|
apt-get update &>/dev/null
|
||||||
|
apt-get upgrade &>/dev/null
|
||||||
|
|
||||||
# Fix mate software center
|
# Fix mate software center
|
||||||
if [ -f /usr/lib/dbus-1.0/dbus-daemon-launch-helper ]; then
|
if [ -f /usr/lib/dbus-1.0/dbus-daemon-launch-helper ]; then
|
||||||
|
echo "Allow software center"
|
||||||
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
|
chmod u+s /usr/lib/dbus-1.0/dbus-daemon-launch-helper
|
||||||
service dbus restart
|
service dbus restart
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user