Fix installation of kvirc protocol files on Debian and Ubuntu

This resolves Bug 2497

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6253ed4f81)
pull/92/head
Slávek Banko 9 years ago
parent 0be9f6f644
commit 165ddae697

@ -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)

@ -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)

@ -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/

@ -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)

@ -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)

@ -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/

@ -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)

@ -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)

@ -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/

Loading…
Cancel
Save