Skip to content
Snippets Groups Projects
Commit fbef3d52 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove any prior installation

parent 06a228f3
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,9 @@ function install_mailpile {
fi
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
cd htdocs
git checkout $MAILPILE_COMMIT -b $MAILPILE_COMMIT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment