Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neutrinet
neutrinet_ynh
Commits
ed952286
Commit
ed952286
authored
Apr 09, 2022
by
HgO
Browse files
suppress warnings when cloning renew-cert git repo
parent
0ab41611
Changes
2
Show whitespace changes
Inline
Side-by-side
scripts/install
View file @
ed952286
...
...
@@ -90,8 +90,8 @@ renew_cert_cron_script="renew_cert_cron.sh"
ynh_script_progression
"Installing automatic VPN certificate renewal…"
git clone
$renew_cert_repo
$renew_cert_path
git
-C
$renew_cert_path
checkout
$renew_cert_version
ynh_exec_warn_less
git clone
$renew_cert_repo
$renew_cert_path
ynh_exec_warn_less
git
-C
$renew_cert_path
checkout
$renew_cert_version
# We wrap the python3 script that actually renew the VPN certificate
# This wrapper will be used as a daily cron task
...
...
scripts/upgrade
View file @
ed952286
...
...
@@ -122,13 +122,13 @@ renew_cert_path="$opt_path/renew_cert"
renew_cert_cron_script
=
"renew_cert_cron.sh"
if
[[
!
-e
$renew_cert_path
]]
;
then
git clone
$renew_cert_repo
$renew_cert_path
ynh_exec_warn_less
git clone
$renew_cert_repo
$renew_cert_path
else
git
-C
$renew_cert_path
remote set-url origin
$renew_cert_repo
git
-C
$renew_cert_path
fetch
-t
ynh_exec_warn_less
git
-C
$renew_cert_path
remote set-url origin
$renew_cert_repo
ynh_exec_warn_less
git
-C
$renew_cert_path
fetch
-t
fi
git
-C
$renew_cert_path
checkout
$renew_cert_version
ynh_exec_warn_less
git
-C
$renew_cert_path
checkout
$renew_cert_version
# We wrap the python3 script that actually renew the VPN certificate
# This wrapper will be used as a daily cron task
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment