diff options
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r-- | debian/sitesummary.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst index 84b3f88..7a77533 100644 --- a/debian/sitesummary.postinst +++ b/debian/sitesummary.postinst @@ -4,7 +4,7 @@ set -e # Adjust to the new config location, in /etc/apache2/conf.d/sitesummary if [ -f /etc/apache2/sites-available/sitesummary ]; then - a2dissite sitesummary + [ -x /usr/sbin/a2dissite ] && a2dissite sitesummary rm /etc/apache2/sites-available/sitesummary fi |