Skip to content
Permalink
Browse files
debian packaging fix
  • Loading branch information
jef-n committed Feb 7, 2014
1 parent af65a0a commit f06e72efcd2de347be6918a2ff278f17dc8a0b0c
@@ -5,8 +5,9 @@ qgis (2.1.0) UNRELEASED; urgency=low
* Update Qt dependency to 4.7
* drop support for Debian squeeze and Ubuntu lucid, maverick, natty and oneiric
* add support for Ubuntu trusty
* run crssync on copy of srs.db (Closes #738117)

-- Jürgen E. Fischer <jef@norbit.de> Wed, 05 Feb 2014 22:02:24 +0100
-- Jürgen E. Fischer <jef@norbit.de> Sat, 08 Feb 2014 00:36:40 +0100

qgis (1.9.0) UNRELEASED; urgency=low

@@ -1,6 +1,6 @@
usr/share/qgis/svg/*
usr/share/qgis/resources/qgis.db
usr/share/qgis/resources/srs.db
usr/share/qgis/resources/srs-template.db
usr/share/qgis/resources/customization.xml
usr/share/qgis/resources/symbology-ng-style.db
usr/share/qgis/resources/cpt-city-qgis-min/*
@@ -2,6 +2,7 @@
set -e

if [ "$1" = "configure" ] && [ -x /usr/lib/qgis/crssync ]; then
cp /usr/share/qgis/resources/srs-template.db /usr/share/qgis/resources/srs.db
/usr/lib/qgis/crssync
fi

@@ -0,0 +1,8 @@
#!/bin/sh
set -e

if [ "$1" = "remove" ] ; then
rm /usr/share/qgis/resources/srs.db
fi

#DEBHELPER#
@@ -190,6 +190,8 @@ install: build
install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps
install -o root -g root -m 644 $(CURDIR)/images/icons/qgis-mime-icon.png $(CURDIR)/debian/tmp/usr/share/pixmaps

mv $(CURDIR)/debian/tmp/usr/share/qgis/resources/srs.db $(CURDIR)/debian/tmp/usr/share/qgis/resources/srs-template.db

# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

0 comments on commit f06e72e

Please sign in to comment.