Fix irc.protocol alternatives provision on Debian and Ubuntu

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cfdbd6d2a8)
pull/92/head
Slávek Banko 9 years ago
parent 3115be65b1
commit cef2b1afa1

@ -4,12 +4,12 @@ set -e
case "$1" in case "$1" in
configure) configure)
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc.protocol irc.protocol \ /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.0/services/irc.protocol 60
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc6.protocol irc6.protocol \ /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.0/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -4,10 +4,10 @@ set -e
case "$1" in case "$1" in
remove) remove)
# update-alternatives --quiet --remove irc.protocol \ update-alternatives --quiet --remove irc.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc.protocol /opt/trinity/share/kvirc/3.4.0/services/irc.protocol
# update-alternatives --quiet --remove irc6.protocol \ update-alternatives --quiet --remove irc6.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -20,7 +20,7 @@ set -e
case "$1" in case "$1" in
configure) configure)
update-alternatives --auto irc.protocol || true 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) abort-upgrade|abort-remove|abort-deconfigure)

@ -4,12 +4,12 @@ set -e
case "$1" in case "$1" in
configure) configure)
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc.protocol irc.protocol \ /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.0/services/irc.protocol 60
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc6.protocol irc6.protocol \ /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.0/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -4,10 +4,10 @@ set -e
case "$1" in case "$1" in
remove) remove)
# update-alternatives --quiet --remove irc.protocol \ update-alternatives --quiet --remove irc.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc.protocol /opt/trinity/share/kvirc/3.4.0/services/irc.protocol
# update-alternatives --quiet --remove irc6.protocol \ update-alternatives --quiet --remove irc6.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -20,7 +20,7 @@ set -e
case "$1" in case "$1" in
configure) configure)
update-alternatives --auto irc.protocol || true 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) abort-upgrade|abort-remove|abort-deconfigure)

@ -4,12 +4,12 @@ set -e
case "$1" in case "$1" in
configure) configure)
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc.protocol irc.protocol \ /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.0/services/irc.protocol 60
# update-alternatives --quiet --install \ update-alternatives --quiet --install \
# /usr/share/services/irc6.protocol irc6.protocol \ /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.0/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -4,10 +4,10 @@ set -e
case "$1" in case "$1" in
remove) remove)
# update-alternatives --quiet --remove irc.protocol \ update-alternatives --quiet --remove irc.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc.protocol /opt/trinity/share/kvirc/3.4.0/services/irc.protocol
# update-alternatives --quiet --remove irc6.protocol \ update-alternatives --quiet --remove irc6.protocol \
# /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol /opt/trinity/share/kvirc/3.4.0/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -20,7 +20,7 @@ set -e
case "$1" in case "$1" in
configure) configure)
update-alternatives --auto irc.protocol || true 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) abort-upgrade|abort-remove|abort-deconfigure)

Loading…
Cancel
Save