From 7af98e2fecd340adc8ab8a81337ba238a9097a94 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 8 Jun 2016 20:24:29 +0200 Subject: [PATCH] [fix] ensure that we update apt list before installing, some people doesn't do that --- scripts/install | 3 ++- scripts/upgrade | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 scripts/upgrade diff --git a/scripts/install b/scripts/install index f21ccba..4d11022 100644 --- a/scripts/install +++ b/scripts/install @@ -11,6 +11,7 @@ install_renew_cert() { sudo rm -rf $RENEW_CERT_PATH fi + sudo apt-get update sudo apt-get install -y python-virtualenv sudo git clone https://github.com/neutrinet/renew_cert $RENEW_CERT_PATH @@ -37,7 +38,7 @@ renew_cert() { cd $install_dir } -sudo yunohost app setting neutrinet version -v "0.1" +sudo yunohost app setting neutrinet version -v "0.1.1" sudo yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json sudo yunohost app fetchlist -n labriqueinternet -u https://labriqueinter.net/apps/labriqueinternet.json diff --git a/scripts/upgrade b/scripts/upgrade new file mode 100644 index 0000000..bb36bd3 --- /dev/null +++ b/scripts/upgrade @@ -0,0 +1 @@ +echo "Nothing to do to upgrade" -- GitLab