Ensure that clone happens
This commit is contained in:
parent
4f85a93b32
commit
1fbe08647a
|
@ -262,11 +262,6 @@ function install_edith {
|
|||
|
||||
EDITH_ONION_HOSTNAME=$(add_onion_service edith 80 ${EDITH_ONION_PORT})
|
||||
|
||||
if [ ! -d /var/www/$EDITH_DOMAIN_NAME/htdocs ]; then
|
||||
mkdir -p /var/www/$EDITH_DOMAIN_NAME/htdocs
|
||||
fi
|
||||
if [ ! -d /var/www/$EDITH_DOMAIN_NAME/htdocs ]; then
|
||||
|
||||
if [ -d /repos/edith ]; then
|
||||
mkdir /var/www/$EDITH_DOMAIN_NAME/htdocs
|
||||
cp -r -p /repos/edith/. /var/www/$EDITH_DOMAIN_NAME/htdocs
|
||||
|
@ -281,7 +276,6 @@ function install_edith {
|
|||
echo $'Unable to clone edith repo'
|
||||
exit 537593569
|
||||
fi
|
||||
fi
|
||||
|
||||
cd /var/www/$EDITH_DOMAIN_NAME/htdocs
|
||||
git checkout $EDITH_COMMIT -b $EDITH_COMMIT
|
||||
|
|
Loading…
Reference in New Issue