[Git][debian-gis-team/qgis][master] Use crssync specific template for mktemp,

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Aug 13 13:38:00 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / qgis


Commits:
1db24c65 by Bas Couwenberg at 2023-08-13T14:37:53+02:00
Use crssync specific template for mktemp,

- - - - -


1 changed file:

- debian/qgis-providers.postinst


Changes:

=====================================
debian/qgis-providers.postinst
=====================================
@@ -3,7 +3,7 @@ set -e
 
 if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
 	if [ -w /usr/share/qgis/resources/srs.db ] && [ -x /usr/lib/qgis/crssync ]; then
-		TEMPDIR=$(mktemp -d)
+		TEMPDIR=$(mktemp -d "/tmp/qgis-crssync.XXXXXXXXXX")
 		HOME="${TEMPDIR}" XDG_DATA_HOME="" XDG_CONFIG_HOME="" XDG_STATE_HOME="" XDG_CACHE_HOME="" /usr/lib/qgis/crssync
 		rm -rf "${TEMPDIR}"
 	fi



View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/-/commit/1db24c65a8711cebb8fd4eecd4a7f7a094478fa3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/-/commit/1db24c65a8711cebb8fd4eecd4a7f7a094478fa3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230813/e641c5b4/attachment.htm>


More information about the Pkg-grass-devel mailing list