From 6089a5c77b4725a619d8a8a1741251c73862a84c Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 13 Aug 2019 15:13:03 +0200 Subject: [PATCH] Bump --- debian/postinst | 3 +++ debian/prerm | 3 +++ debian/rules | 2 ++ 3 files changed, 8 insertions(+) diff --git a/debian/postinst b/debian/postinst index c4d82d7..76ae877 100644 --- a/debian/postinst +++ b/debian/postinst @@ -2,6 +2,9 @@ set -e +if [ -f "/usr/lib/arcconf/arcconf-3.01" ]; then + update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.01 301 +fi if [ -f "/usr/lib/arcconf/arcconf-3.00" ]; then update-alternatives --install /usr/lib/arcconf/arcconf arcconf /usr/lib/arcconf/arcconf-3.00 300 fi diff --git a/debian/prerm b/debian/prerm index a4cb379..f2128e9 100644 --- a/debian/prerm +++ b/debian/prerm @@ -2,6 +2,9 @@ set -e +if [ -f "/usr/lib/arcconf/arcconf-3.01" ]; then + update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-3.01 +fi if [ -f "/usr/lib/arcconf/arcconf-3.00" ]; then update-alternatives --remove arcconf /usr/lib/arcconf/arcconf-3.00 fi diff --git a/debian/rules b/debian/rules index a2ed1c5..4e3ed37 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,8 @@ ifeq ($(DEB_BUILD_ARCH),amd64) install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \ debian/arcconf/usr/lib/arcconf/libstdcv4.so.6.0.8 ln -s libstdcv4.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6 + install -D -m 0755 amd64/3.01/arcconf \ + debian/arcconf/usr/lib/arcconf/arcconf-3.01 install -D -m 0755 amd64/3.00/arcconf \ debian/arcconf/usr/lib/arcconf/arcconf-3.00 sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.06/arcconf