Commit a17d806d authored by Ilja's avatar Ilja
Browse files

Merge branch '7-fix-checkout-renew_cert' into 'master'

Fix checkout renew_cert when directory already exists

Closes #7

See merge request !9
parents 14d35322 33cbe00c
......@@ -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=""
if [[ ! -e $renew_cert_path ]]; then
git clone $renew_cert_repo $renew_cert_path
git -C $renew_cert_path fetch -t
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