Commit 9f8a2f7b authored by Jonathan Harker's avatar Jonathan Harker
Browse files

Fix various package install time errors.

 - Bump package to version 16.10-2
 - Also issue empty build directory warning on a fresh install.
 - Suppress Apache DocumentRoot configuration check error.
parent 5d86df6d
maharadocs (16.10-2) unstable; urgency=medium
* Use a Python virtual environment.
* Fix checks for existing git checkouts of the user manual.
* Warn the installer about running the crons manually if necessary.
* Suppress Apache DocumentRoot configuration check error.
-- Jonathan Harker <> Fri, 21 Oct 2016 15:00:07 +1300
maharadocs (16.10-1) stable; urgency=medium
* Move old versions of manuals from daily to monthly cron.
......@@ -76,6 +76,12 @@ then
echo "${bold}*******************************************************************${normal}"
echo "${bold}* Fetching the Mahara manual code for the first time. The build *${normal}"
echo "${bold}* dir will not be built until the cron job(s) run, so you may *${normal}"
echo "${bold}* want to run them manually after this installation. *${normal}"
echo "${bold}*******************************************************************${normal}"
# Make our lovely new install from the git address.
......@@ -107,6 +113,9 @@ fi
# Update the Python virtual environment
# Make an empty build directory to suppress the Apache configcheck error
mkdir -p $DIRNAME/build/html
# Make the sitelogs directory...
mkdir -p /var/log/sitelogs/mahara-manual-sphinx
......@@ -6,6 +6,9 @@
set -e
. /usr/share/debconf/confmodule
bold=`tput bold`
normal=`tput sgr0`
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
......@@ -28,10 +31,10 @@ case "$1" in
db_get maharadocs/installdir
echo "Disabling apache site config"
a2dissite mahara-manual-sphinx.conf
a2dissite mahara-manual-sphinx.conf || true
echo "Removing apache site config"
rm -f /etc/apache2/sites-available/mahara-manual-sphinx.conf
echo "NOTE: The directory $DIRNAME has not been removed and must be deleted manually!"
rm -f /etc/apache2/sites-available/mahara-manual-sphinx.conf || true
echo "${bold}NOTE: The directory $DIRNAME has not been removed and must be deleted manually!${normal}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment