[Git][debian-gis-team/postgis][experimental] debian/tests/regress: delete test directory before possibly switching user
Christoph Berg
gitlab at salsa.debian.org
Wed Jul 3 13:06:33 BST 2019
Christoph Berg pushed to branch experimental at Debian GIS Project / postgis
Commits:
596e0ffd by Christoph Berg at 2019-07-03T12:05:03Z
debian/tests/regress: delete test directory before possibly switching user
- - - - -
1 changed file:
- debian/tests/regress
Changes:
=====================================
debian/tests/regress
=====================================
@@ -7,6 +7,9 @@ for prg in shp2pgsql pgsql2shp; do
test -x loader/$prg || ln -s /usr/bin/$prg loader $prg
done
+# delete test directory before possibly switching user
+rm -rf /tmp/pgis_reg
+
# re-start ourselves as nobody since PG can't run as root
if [ "$(id -un)" = "root" ]; then
exec su nobody -s /bin/sh "$0" "$@$"
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/596e0ffd60ede67604a07ac59af6bca04cb693d5
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/596e0ffd60ede67604a07ac59af6bca04cb693d5
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/20190703/c99d93aa/attachment.html>
More information about the Pkg-grass-devel
mailing list