]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
sites-enabled and not sites-available
authorThomas Goirand <thomas@goirand.fr>
Thu, 18 Jul 2013 17:14:14 +0000 (01:14 +0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 18 Jul 2013 17:14:39 +0000 (01:14 +0800)
Change-Id: I3812a8519b142487ebeb316760277f9af4492a95
(cherry picked from commit b16996402bd6a3b714f8f637d327f35a851a37aa)

Rewritten-From: 9d348ba45e3a821e83a8bf85882b879c90a37960

xenial/debian/openstack-dashboard-apache.prerm

index 4a00b346b9e1f9c9937d07f26d1a0f7255b4bb4e..bfaf71baa0119cc5f25c1eea8782e8eb9e9b79fe 100644 (file)
@@ -4,10 +4,10 @@ set -e
 
 if [ -x /usr/sbin/a2dissite ] ; then
        for i in openstack-dashboard openstack-dashboard-ssl-redirect openstack-dashboard-ssl ; do
-               if [ -L /etc/apache2/sites-available/${i} ] ; then
+               if [ -L /etc/apache2/sites-enabled/${i} ] ; then
                        a2dissite ${i} || true
                fi
-               if [ -L /etc/apache2/sites-available/${i}.conf ] ; then
+               if [ -L /etc/apache2/sites-enabled/${i}.conf ] ; then
                        a2dissite ${i}.conf
                fi
        done