Update upgrade

remove simulate option
This commit is contained in:
abeudin 2014-03-13 21:06:38 +01:00
parent 2604a2457f
commit 7135266452

View file

@ -1,5 +1,5 @@
/bin/bash
rm /tmp/yunohost/update_status
sudo apt-get upgrade -y -s > /tmp/yunohost/update_log 2>&1
sudo apt-get upgrade -y > /tmp/yunohost/update_log 2>&1
if [ $(echo $?) = 0 ]; then echo "OK" > /tmp/yunohost/upgrade_status; else echo "NOK" > /tmp/yunohost/upgrade_status; fi
rm /tmp/yunohost/upgrade.run