summaryrefslogtreecommitdiffstats
path: root/debian/squeeze
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-05 20:42:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-05 20:43:35 +0200
commitcef2b1afa1d1e5432d4476b9763333207b7a9c02 (patch)
treef2585475fbaf0d717a3e41f6809515dc675c9917 /debian/squeeze
parent3115be65b1b9626667708e634a090ba7e1be879d (diff)
downloadtde-packaging-cef2b1afa1d1e5432d4476b9763333207b7a9c02.tar.gz
tde-packaging-cef2b1afa1d1e5432d4476b9763333207b7a9c02.zip
Fix irc.protocol alternatives provision on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit cfdbd6d2a873f55f15c62c6c47e7117cecc3c239)
Diffstat (limited to 'debian/squeeze')
-rw-r--r--debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.postinst12
-rw-r--r--debian/squeeze/applications/kvirc/debian/kvirc-data-trinity.prerm8
-rw-r--r--debian/squeeze/tdenetwork/debian/kopete-trinity.postinst2
3 files changed, 11 insertions, 11 deletions
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)
diff --git a/debian/squeeze/tdenetwork/debian/kopete-trinity.postinst b/debian/squeeze/tdenetwork/debian/kopete-trinity.postinst
index 4ccb5ac4c..f1f83b298 100644
--- a/debian/squeeze/tdenetwork/debian/kopete-trinity.postinst
+++ b/debian/squeeze/tdenetwork/debian/kopete-trinity.postinst
@@ -20,7 +20,7 @@ set -e
case "$1" in
configure)
update-alternatives --auto irc.protocol || true
- update-alternatives --verbose --install /usr/share/services/irc.protocol irc.protocol /opt/trinity/share/apps/kopete/irc.protocol 40 || true
+ update-alternatives --verbose --install /opt/trinity/share/services/irc.protocol irc.protocol /opt/trinity/share/apps/kopete/irc.protocol 40 || true
;;
abort-upgrade|abort-remove|abort-deconfigure)