Fix installation of kvirc protocol files on Debian and Ubuntu

This resolves Bug 2497

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 9 years ago
parent e1a5231c98
commit 6253ed4f81

@ -6,10 +6,10 @@ case "$1" in
configure) configure)
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc.protocol 60
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -5,9 +5,9 @@ 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/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/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -84,3 +84,6 @@ debian/stamp-bootstrap:
./autogen.sh ./autogen.sh
touch debian/stamp-bootstrap 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/

@ -6,10 +6,10 @@ case "$1" in
configure) configure)
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc.protocol 60
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -5,9 +5,9 @@ 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/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/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -84,3 +84,6 @@ debian/stamp-bootstrap:
./autogen.sh ./autogen.sh
touch debian/stamp-bootstrap 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/

@ -6,10 +6,10 @@ case "$1" in
configure) configure)
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc.protocol 60
update-alternatives --quiet --install \ update-alternatives --quiet --install \
/opt/trinity/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/services/irc6.protocol 60
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

@ -5,9 +5,9 @@ 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/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/services/irc6.protocol
;; ;;
upgrade|deconfigure) upgrade|deconfigure)

@ -84,3 +84,6 @@ debian/stamp-bootstrap:
./autogen.sh ./autogen.sh
touch debian/stamp-bootstrap 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/

Loading…
Cancel
Save