From cef2b1afa1d1e5432d4476b9763333207b7a9c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 5 Jul 2015 20:42:22 +0200 Subject: Fix irc.protocol alternatives provision on Debian and Ubuntu 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 cfdbd6d2a873f55f15c62c6c47e7117cecc3c239) --- .../applications/kvirc/debian/kvirc-data-trinity.postinst | 12 ++++++------ .../applications/kvirc/debian/kvirc-data-trinity.prerm | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'debian/squeeze/applications') diff --git a/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.postinst b/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.postinst index ae66752f1..4b1204c8e 100644 --- a/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.postinst +++ b/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.postinst @@ -4,12 +4,12 @@ set -e case "$1" in configure) -# update-alternatives --quiet --install \ -# /usr/share/services/irc.protocol irc.protocol \ -# /opt/trinity/share/kvirc/3.4.0/services/irc.protocol 60 -# update-alternatives --quiet --install \ -# /usr/share/services/irc6.protocol irc6.protocol \ -# /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol 60 + update-alternatives --quiet --install \ + /opt/trinity/share/services/irc.protocol irc.protocol \ + /opt/trinity/share/kvirc/3.4.0/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 ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.prerm b/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.prerm index 4efb6507f..5899d25b7 100644 --- a/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.prerm +++ b/debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.prerm @@ -4,10 +4,10 @@ set -e case "$1" in remove) -# update-alternatives --quiet --remove irc.protocol \ -# /opt/trinity/share/kvirc/3.4.0/services/irc.protocol -# update-alternatives --quiet --remove irc6.protocol \ -# /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol + update-alternatives --quiet --remove irc.protocol \ + /opt/trinity/share/kvirc/3.4.0/services/irc.protocol + update-alternatives --quiet --remove irc6.protocol \ + /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol ;; upgrade|deconfigure) -- cgit v1.2.1