File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,7 @@ Recommends:
84
84
qgis-provider-grass,
85
85
qgis-plugin-globe
86
86
Suggests: gpsbabel
87
- Replaces: qgis-plugin-grass (<< 1:2.13.0+git20160204)
88
- Conflicts: uim-qt3, qgis-plugin-grass (<< 1:2.13.0+git20160204)
87
+ Conflicts: uim-qt3
89
88
Description: Geographic Information System (GIS)
90
89
A Geographic Information System (GIS) manages, analyzes, and displays
91
90
databases of geographic information. QGIS supports shape file viewing and
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -e
4
+
5
+ if [ " $1 " = " install" -o " $1 " = " upgrade" ]; then
6
+ # Fix bad diversions
7
+ div=$( dpkg-divert --listpackage /usr/bin/qgis)
8
+ if [ -n " $div " -a " $div " = qgis-plugin-grass ]; then
9
+ for i in /usr/bin/qgis /usr/bin/qbrowser; do
10
+ if [ -e $i ] && ! [ -e $i .undiverted ]; then
11
+ mv $i $i .undiverted
12
+ fi
13
+ dpkg-divert --package qgis-plugin-grass --remove --rename --divert $i .bin $i
14
+ if [ -e $i .undiverted ]; then
15
+ mv $i .undiverted $i
16
+ fi
17
+ done
18
+ fi
19
+ fi
20
+
21
+ # DEBHELPER#
22
+
23
+ exit 0
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- if dpkg -s qgis-plugin-grass > /dev/null; then
3
+ if dpkg -s qgis-plugin-grass > /dev/null 2>&1 ; then
4
4
if [ " $LD_LIBRARY_PATH " = " " ]; then
5
5
LD_LIBRARY_PATH=/usr/lib/{GRASS}/lib
6
6
else
7
7
LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/usr/lib/{GRASS}/lib
8
8
fi
9
9
fi
10
10
11
- if dpkg -s qgis-oracle-provider > /dev/null; then
11
+ if dpkg -s qgis-oracle-provider > /dev/null 2>&1 ; then
12
12
if [ " $LD_LIBRARY_PATH " = " " ]; then
13
13
LD_LIBRARY_PATH={ORACLE_LIBDIR}
14
14
else
You can’t perform that action at this time.
0 commit comments