Skip to content

Commit

Permalink
On ubuntu 12.04 contrailtopology.js was added as a symlink from ../..…
Browse files Browse the repository at this point in the history
…/../../../../../../share/pyshared/contrail_openstack_dashboard/openstack_dashboard/static/dashboard/js/contrail.networktopology.js

Add -L to cp in postinst to copy file instead of symlink

Change-Id: I40741a29fcee5a006618faeb0a4e71c8a5c0e63d
Closes-Bug: #1459915
  • Loading branch information
rsharma-contrailsystems authored and knagakiran committed Jun 18, 2015
1 parent 514d48e commit 9e21e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e

if [ "$1" = "configure" ] ; then
if [ -e /usr/share/openstack-dashboard/openstack_dashboard/static ] ; then
cp -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
cp -L -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
fi
fi
#DEBHELPER#
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e

if [ "$1" = "configure" ] ; then
if [ -e /usr/share/openstack-dashboard/openstack_dashboard/static ] ; then
cp -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
cp -L -prf /usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/static/* /usr/share/openstack-dashboard/openstack_dashboard/static
fi
fi
#DEBHELPER#

0 comments on commit 9e21e03

Please sign in to comment.