Commit 33cbe00c authored by HgO's avatar HgO Committed by Ilja
Browse files

Fix checkout renew_cert when directory already exists

parent 14d35322
......@@ -2,10 +2,10 @@
"name": "Neutrinet",
"id": "neutrinet",
"description": {
"en": "Auto renewall for the Neutrinet vpn-certificates",
"en": "Auto renewal for the Neutrinet vpn-certificates",
"fr": "Renouvellement automatique des certificats vpn Neutrinet"
},
"version": "0.3.0~ynh1",
"version": "0.3.0~ynh2",
"license": "GPL-3+",
"maintainer": {
"name": "ilja",
......
......@@ -128,6 +128,8 @@ renew_cert_cron_script="renew_cert_cron.sh"
if [[ ! -e $renew_cert_path ]]; then
git clone $renew_cert_repo $renew_cert_path
else
git -C $renew_cert_path fetch -t
fi
git -C $renew_cert_path checkout $renew_cert_version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment