Commit bc356496 authored by Paul Cammish's avatar Paul Cammish
Browse files

Remove sympl-common if installed

parent adbe8f75
......@@ -95,6 +95,7 @@ if [ ! -e "/srv/$HOSTNAME" ] ; then
# Create the standard directories
#
mkdir -p /srv/$HOSTNAME/public/htdocs
mkdir -p /srv/$HOSTNAME/public/logs
mkdir -p /srv/$HOSTNAME/config
mkdir -p /srv/$HOSTNAME/mailboxes/root
......@@ -159,10 +160,13 @@ echo "roundcube-core roundcube/dbconfig-install boolean true" | debconf-set-sele
echo "roundcube-core roundcube/database-type select mysql" | debconf-set-selections
echo "roundcube-core roundcube/mysql/app-pass password" | debconf-set-selections
# If sympl-filesystem-security is in the path, run it.
if [ "x$( which sympl-filesystem-security )" != "x" ]; then
sympl-filesystem-security
fi
# Run sympl-filesystem-security to enforce permissions
sympl-filesystem-security
echo 'I: Checking for deprecated sympl packages...'
if dpkg -l sympl-common > /dev/null ; then echo Found sympl-common. Removing:; apt-get -qq -y remove sympl-common; fi
# Create htop defaults
if [ ! -f /home/sympl/.config/htop/htoprc ]; then
mkdir -p /home/sympl/.config/htop/
......
Markdown is supported
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