mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
4 lines
166 B
Text
4 lines
166 B
Text
|
rm /tmp/update_status
|
||
|
sudo apt-get upgrade -y > /tmp/update_log 2>&1
|
||
|
if [[ $? = 0 ]]; then echo "OK" > /tmp/upgrade_status; else echo "NOK" > /tmp/upgrade_status; fi
|