Remove any prior installation
This commit is contained in:
parent
06a228f3e6
commit
fbef3d521e
|
@ -159,6 +159,9 @@ function install_mailpile {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd /var/www/$MAILPILE_DOMAIN_NAME
|
cd /var/www/$MAILPILE_DOMAIN_NAME
|
||||||
|
if [ -d /var/www/$MAILPILE_DOMAIN_NAME/htdocs ]; then
|
||||||
|
rm -rf /var/www/$MAILPILE_DOMAIN_NAME/htdocs
|
||||||
|
fi
|
||||||
git_clone $MAILPILE_REPO htdocs
|
git_clone $MAILPILE_REPO htdocs
|
||||||
cd htdocs
|
cd htdocs
|
||||||
git checkout $MAILPILE_COMMIT -b $MAILPILE_COMMIT
|
git checkout $MAILPILE_COMMIT -b $MAILPILE_COMMIT
|
||||||
|
|
Loading…
Reference in New Issue