From 165ddae6973cc9aedb6e946dcac795086ae602fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 4 Aug 2015 02:51:56 +0200 Subject: Fix installation of kvirc protocol files on Debian and Ubuntu This resolves Bug 2497 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 6253ed4f8177cb33fef709fb7e215ff94e6300c1) --- debian/lenny/applications/kvirc/debian/kvirc-data-trinity.postinst | 4 ++-- debian/lenny/applications/kvirc/debian/kvirc-data-trinity.prerm | 4 ++-- debian/lenny/applications/kvirc/debian/rules | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'debian/lenny') diff --git a/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.postinst b/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.postinst index 4b1204c8e..44593aa4f 100644 --- a/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.postinst +++ b/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.postinst @@ -6,10 +6,10 @@ case "$1" in configure) update-alternatives --quiet --install \ /opt/trinity/share/services/irc.protocol irc.protocol \ - /opt/trinity/share/kvirc/3.4.0/services/irc.protocol 60 + /opt/trinity/share/kvirc/3.4/services/irc.protocol 60 update-alternatives --quiet --install \ /opt/trinity/share/services/irc6.protocol irc6.protocol \ - /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol 60 + /opt/trinity/share/kvirc/3.4/services/irc6.protocol 60 ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.prerm b/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.prerm index 5899d25b7..411365f32 100644 --- a/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.prerm +++ b/debian/lenny/applications/kvirc/debian/kvirc-data-trinity.prerm @@ -5,9 +5,9 @@ set -e case "$1" in remove) update-alternatives --quiet --remove irc.protocol \ - /opt/trinity/share/kvirc/3.4.0/services/irc.protocol + /opt/trinity/share/kvirc/3.4/services/irc.protocol update-alternatives --quiet --remove irc6.protocol \ - /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol + /opt/trinity/share/kvirc/3.4/services/irc6.protocol ;; upgrade|deconfigure) diff --git a/debian/lenny/applications/kvirc/debian/rules b/debian/lenny/applications/kvirc/debian/rules index d0de2524f..729103a30 100755 --- a/debian/lenny/applications/kvirc/debian/rules +++ b/debian/lenny/applications/kvirc/debian/rules @@ -84,3 +84,6 @@ debian/stamp-bootstrap: ./autogen.sh touch debian/stamp-bootstrap +binary-install/kvirc-data-trinity:: + mkdir -p debian/$(cdbs_curpkg)/opt/trinity/share/kvirc/3.4/services + mv debian/tmp/opt/trinity/share/services/* debian/$(cdbs_curpkg)/opt/trinity/share/kvirc/3.4/services/ -- cgit v1.2.1