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
6e996a44
Commit
6e996a44
authored
Nov 27, 2020
by
Aleks
Browse files
Change syntax for to check if we're running in the CI
parent
fe099910
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripts/install
View file @
6e996a44
...
...
@@ -123,4 +123,7 @@ chmod 0755 /etc/cron.daily/$app-renew-cert
ynh_script_progression
"Checking certificates…"
# (This is expected to fail during CI tests because no credential available)
/etc/cron.daily/
$app
-renew-cert
||
[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
1
]
if
[[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
0
]]
then
/etc/cron.daily/
$app
-renew-cert
fi
scripts/restore
View file @
6e996a44
...
...
@@ -89,4 +89,7 @@ chmod 0755 /etc/cron.daily/$app-renew-cert \
ynh_script_progression
"Checking certificates…"
# (This is expected to fail during CI tests because no credential available)
/etc/cron.daily/
$app
-renew-cert
||
[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
1
]
if
[[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
0
]]
then
/etc/cron.daily/
$app
-renew-cert
fi
scripts/upgrade
View file @
6e996a44
...
...
@@ -159,4 +159,7 @@ chmod 0755 /etc/cron.daily/$app-renew-cert
ynh_script_progression
"Checking certificates..."
# (This is expected to fail during CI tests because no credential available)
/etc/cron.daily/
$app
-renew-cert
||
[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
1
]
if
[[
${
PACKAGE_CHECK_EXEC
:-
0
}
-eq
0
]]
then
/etc/cron.daily/
$app
-renew-cert
fi
Write
Preview
Markdown
is supported
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