diff options
author | Gabriel Ganne <gabriel.ganne@qosmos.com> | 2017-01-04 14:42:21 +0100 |
---|---|---|
committer | Gabriel Ganne <gabriel.ganne@qosmos.com> | 2017-01-04 14:57:58 +0100 |
commit | 12d93ec04c43f3d72f8676f30a5b2ad624bf9f77 (patch) | |
tree | fcbfe6f91f93761c306c6598515772cbaace5592 /build-root/deb/debian/vpp-api-python.prerm | |
parent | 0eca04d84e39ca16c60bea91d77a1c458300c16c (diff) |
rename vpp python's api debian scripts
python's api has been renamed from *vpp-python-api* -> *vpp-api-python*
deb scripts need to follow the package name in order to be called
Change-Id: I0c9ec45cc3d478c3b90aa75bcd2b8a9f7809cbc9
Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Diffstat (limited to 'build-root/deb/debian/vpp-api-python.prerm')
-rw-r--r-- | build-root/deb/debian/vpp-api-python.prerm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build-root/deb/debian/vpp-api-python.prerm b/build-root/deb/debian/vpp-api-python.prerm new file mode 100644 index 00000000000..e6d92df9b13 --- /dev/null +++ b/build-root/deb/debian/vpp-api-python.prerm @@ -0,0 +1,8 @@ +#!/bin/sh -e + +# before removing python-api files +python2_sitedir=$(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") +easy_install --install-dir=$python2_sitedir -mxNq vpp_papi + +# the egg has been copied during install +rm $python2_sitedir/vpp_papi-*.egg |