[ffc] 01/02: Make the alternative a directory symlink to /usr/include/ufc
Johannes Ring
johannr-guest at moszumanska.debian.org
Mon Jun 12 11:55:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
johannr-guest pushed a commit to branch master
in repository ffc.
commit 552759ae336b113e803183b4f0f87b0825878165
Author: Johannes Ring <johannr at simula.no>
Date: Mon Jun 12 13:53:36 2017 +0200
Make the alternative a directory symlink to /usr/include/ufc
---
debian/python-ffc.postinst | 2 +-
debian/python-ffc.prerm | 2 +-
debian/python3-ffc.postinst | 2 +-
debian/python3-ffc.prerm | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/python-ffc.postinst b/debian/python-ffc.postinst
index d408eee..c5b1cca 100644
--- a/debian/python-ffc.postinst
+++ b/debian/python-ffc.postinst
@@ -5,7 +5,7 @@ UFC_INCLUDE_DIR=__PYTHON_UFC_DIR__
# Make alternatives links
if [ "$1" = "configure" ]; then
# alternative ufc.h
- update-alternatives --install /usr/include/ufc.h ufc.h ${UFC_INCLUDE_DIR}/ufc.h 150
+ update-alternatives --install /usr/include/ufc ufc ${UFC_INCLUDE_DIR}/ 150
fi
#DEBHELPER#
diff --git a/debian/python-ffc.prerm b/debian/python-ffc.prerm
index 88ae2ed..b730f2d 100644
--- a/debian/python-ffc.prerm
+++ b/debian/python-ffc.prerm
@@ -4,7 +4,7 @@ UFC_INCLUDE_DIR=__PYTHON_UFC_DIR__
# Remove alternatives links
if [ "$1" = "remove" ]; then
- update-alternatives --remove ufc.h ${UFC_INCLUDE_DIR}/ufc.h
+ update-alternatives --remove ufc ${UFC_INCLUDE_DIR}/
fi
#DEBHELPER#
diff --git a/debian/python3-ffc.postinst b/debian/python3-ffc.postinst
index 08f036d..26221a0 100644
--- a/debian/python3-ffc.postinst
+++ b/debian/python3-ffc.postinst
@@ -5,7 +5,7 @@ UFC_INCLUDE_DIR=__PYTHON3_UFC_DIR__
# Make alternatives links
if [ "$1" = "configure" ]; then
# alternative ufc.h
- update-alternatives --install /usr/include/ufc.h ufc.h ${UFC_INCLUDE_DIR}/ufc.h 100
+ update-alternatives --install /usr/include/ufc ufc ${UFC_INCLUDE_DIR}/ 100
fi
#DEBHELPER#
diff --git a/debian/python3-ffc.prerm b/debian/python3-ffc.prerm
index f087cf0..e003ec9 100644
--- a/debian/python3-ffc.prerm
+++ b/debian/python3-ffc.prerm
@@ -4,7 +4,7 @@ UFC_INCLUDE_DIR=__PYTHON3_UFC_DIR__
# Remove alternatives links
if [ "$1" = "remove" ]; then
- update-alternatives --remove ufc.h ${UFC_INCLUDE_DIR}/ufc.h
+ update-alternatives --remove ufc ${UFC_INCLUDE_DIR}/
fi
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/fenics/ffc.git
More information about the debian-science-commits
mailing list