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
La Quadrature du Net
grange
troisquatorze
Commits
cee91a7a
Commit
cee91a7a
authored
Mar 11, 2019
by
Okhin
Browse files
Inverting a boolean test
parent
01318351
Pipeline
#2480
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/install.sh
View file @
cee91a7a
...
...
@@ -20,7 +20,7 @@ WPCLI="php ${WPCLI_PATH} --path=${WP_PATH}"
source
$1
# Si on est en PREPROD, utilisons une URL plus simple.
[[
-z
${
PREPROD
+x
}
]]
&&
URL
=
"https://
${
THEME
}
.grange.dev.lqdn.fr"
[[
!
-z
${
PREPROD
+x
}
]]
&&
URL
=
"https://
${
THEME
}
.grange.dev.lqdn.fr"
# Au cas où, on vérifie que wordpress est bien installé.
$WPCLI
core is-installed
||
echo
"Sorry, wordpress isn't installed in
$WP_PATH
."
||
return
1
...
...
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