mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
1b1e60d2a5 Use libqscintilla2-qt5-dev instead of virtual package. dd5003e1e4 Use "-noawait" variant for qgis-crssync trigger. d0e156e44e Remove obsolete diversions in qgis.preinst, but don't rename. 25a677e1ff Update watch file to use HTTPS. 7ca6a995eb Update registration URL in upstream metadata. 789d4fb56b Don't recommend liblwgeom-dev, it shouldn't be used by other projects. 7d3844047a Update packaging for Python 3. bb0017c793 Remove documentation outside /usr/share/doc from non-doc packages. cd7f1fd9b4 Fix FTBFS when building only arch:any packages (with -B). 03e4d0b6e1 Add -DNDEBUG flag for non-debug builds. c6cb002fc9 Include percentage of started edges in ninja output. f86761e712 Set -j & -v ninja options based on DEB_BUILD_OPTIONS. 3b07a54606 Use pkg-info.mk variables instead of dpkg-parsechangelog output. 5e18a74d8d Align paths in links file to improve readability. 2bd52f39b0 Don't use libjs-jquery for Doxygen docs. 3b9e875bbf Simplify python-qgis.install with common path to match all files. 96d5f202a3 Don't rely on QT_PLUGINS_DIR placeholder in template files. 74c3750741 Update copyright file. 1b596f5c21 Don't rely on QGIS_ABI placeholder in template files. aaabb94e70 Simplify lintian overrides. 38fad4d44c Don't rely on GRASSVER placeholder in template files. 9c772d174f Override dh_gencontrol to set GRASS ABI dependency with substvars. 8b9c14ba76 Reorder paths in install files. c518e14d1b Reorder (build) dependencies & remove duplicates.
18 lines
347 B
Bash
18 lines
347 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = "install" -o "$1" = "upgrade" ]; then
|
|
# 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 --remove $i
|
|
fi
|
|
done
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|