home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix if condition.
[config]
/
bullseye
/
setup_scripts
/
setup_dumpsite.sh
diff --git
a/bullseye/setup_scripts/setup_dumpsite.sh
b/bullseye/setup_scripts/setup_dumpsite.sh
index 4d1a14ee52a4dd067d6e4017c34499e79e1f855f..35f7c8e223d468b0673f5a0e3b2a607bd016bca4 100755
(executable)
--- a/
bullseye/setup_scripts/setup_dumpsite.sh
+++ b/
bullseye/setup_scripts/setup_dumpsite.sh
@@
-78,7
+78,7
@@
su -lc "ln -s /home/plom/blog/public /var/www-dump/blog" plom
# Set up url catcher.
# TODO: set up like plomlombot repo (with post-recieve hook)?
# Set up url catcher.
# TODO: set up like plomlombot repo (with post-recieve hook)?
-if [ "$repos_source" = "local"]; then
+if [ "$repos_source" = "local"
]; then
su -lc "git clone /var/repos/url-catcher" plom
else
su -lc "git clone https://plomlompom.com/repos/clone/url-catcher" plom
su -lc "git clone /var/repos/url-catcher" plom
else
su -lc "git clone https://plomlompom.com/repos/clone/url-catcher" plom