diff --git a/scripts/upgrade b/scripts/upgrade index 134bbd92e5153628e8796fdff6e03bacc1ae0290..5efb06ad0562923e8d224450368dbe8327afc993 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -12,3 +12,15 @@ if [[ "$version" == "0.1.1" ]]; then sudo yunohost app setting neutrinet version -v "0.2" version="0.2" fi + +# 0.2 -> 0.2.1 +if [[ "$version" == "0.2" ]]; then + + get_out_of_testing + + sudo yunohost app setting neutrinet version -v "0.2.1" + version="0.2.1" + + cd /opt/neutrinet/renew_cert + sudo ve/bin/python renew_from_cube.py +fi