]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Store settings.py in /etc
authorJulien Danjou <julien@danjou.info>
Mon, 28 Nov 2011 14:16:14 +0000 (15:16 +0100)
committerJulien Danjou <julien@danjou.info>
Mon, 28 Nov 2011 14:16:14 +0000 (15:16 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
Rewritten-From: 085680d939a966d339433795ac4eed0416d5dfa9

xenial/debian/openstack-dashboard.install
xenial/debian/rules

index 2824557e98e4b0cde80f5d62e1715e045093c8e5..d845602f29c27532c69a1affff947d7c806ada9e 100644 (file)
@@ -1 +1,2 @@
-usr/share/openstack-dashboard
\ No newline at end of file
+usr/share/openstack-dashboard
+etc/openstack-dashboard
\ No newline at end of file
index a6937e5b5a7a3ae53014d4e6078b55ed1623ea6d..1b11f0d2e001997c2eaf76effc6a1ac2f863ec9c 100755 (executable)
@@ -20,6 +20,9 @@ override_dh_auto_install:
        # Actually the setup.py from openstack-dashboard does not install anything…
        install -d -m 755  $(CURDIR)/debian/tmp/usr/share/openstack-dashboard
        cp -a $(CURDIR)/openstack-dashboard/dashboard $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/
+       install -d -m 755 $(CURDIR)/debian/tmp/etc/openstack-dashboard
+       mv $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/dashboard/settings.py $(CURDIR)/debian/tmp/etc/openstack-dashboard
+       ln -s /etc/openstask-dashboard/settings.py $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/dashboard/settings.py
 
 override_dh_auto_clean:
        dh_auto_clean