mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Create upgrade
This commit is contained in:
parent
0d814d2ea1
commit
6dbf50e77e
1 changed files with 3 additions and 0 deletions
3
upgrade
Normal file
3
upgrade
Normal file
|
@ -0,0 +1,3 @@
|
|||
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
|
Loading…
Reference in a new issue