Skip to content
Permalink
Browse files

debian packaging update

  • Loading branch information
jef-n committed Mar 9, 2016
1 parent bb0ecf4 commit e62d8fe790e88f22a7ab35e5346a52708892b581
Showing with 12 additions and 13 deletions.
  1. +5 −0 debian/changelog
  2. +7 −13 debian/qgis.preinst
@@ -1,9 +1,14 @@
qgis (2.15.0) UNRELEASED; urgency=medium

[ Jürgen E. Fischer ]
* New development version 2.15 after branch of 2.14
* drop ubuntu utopic
* refine GSL build dependency

[ Bas Couwenberg ]
* Fix removal of obsolete diversions for bother the grass plugin & provider.
(closes: #817176)

-- Jürgen E. Fischer <jef@norbit.de> Fri, 26 Feb 2016 13:23:49 +0100

qgis (2.14.0) unstable; urgency=medium
@@ -3,19 +3,13 @@
set -e

if [ "$1" = "install" -o "$1" = "upgrade" ]; then
# Fix bad diversions
div=$(dpkg-divert --listpackage /usr/bin/qgis)
if [ -n "$div" -a "$div" = qgis-plugin-grass ]; then
for i in /usr/bin/qgis /usr/bin/qbrowser; do
if [ -e $i ] && ! [ -e $i.undiverted ]; then
mv $i $i.undiverted
fi
dpkg-divert --package qgis-plugin-grass --remove --rename --divert $i.bin $i
if [ -e $i.undiverted ]; then
mv $i.undiverted $i
fi
done
fi
# Remove obsolete diversions
for i in /usr/bin/qgis /usr/bin/qbrowser; do
pkg=$(dpkg-divert --listpackage $i)
if [ -n "$pkg" -a "$pkg" = qgis-plugin-grass -o "$pkg" = qgis-provider-grass ]; then
dpkg-divert --package $pkg --rename --remove $i
fi
done
fi

#DEBHELPER#

0 comments on commit e62d8fe

Please sign in to comment.
You can’t perform that action at this time.