ǝɹʇʇɐʃǝ◖ xıʃǝɟ pushed to branch master at Debian GIS Project / tirex
Commits: 014281e3 by Frederik Ramm at 2022-07-15T13:45:57+00:00 Do not delete tile cache on upgrade. On a production machine the tile cache might be serveral TB worth of data that can take weeks to re-create.. - - - - - 1 changed file: - debian/tirex.prerm Changes: ===================================== debian/tirex.prerm ===================================== @@ -1,28 +1,32 @@ #!/bin/sh set -e -# automatically remove cached tiles -if [ -d /var/cache/tirex/tiles ] -then - rm -rf /var/cache/tirex/tiles -fi - -# automatically remove stats -if [ -d /var/cache/tirex/stats ] -then - rm -rf /var/cache/tirex/stats -fi +if [ "$1" = "remove" ]; then -# automatically remove tirex log directory -if [ -d /var/log/tirex ] -then - rm -rf /var/log/tirex -fi + # automatically remove cached tiles + if [ -d /var/cache/tirex/tiles ] + then + rm -rf /var/cache/tirex/tiles + fi + + # automatically remove stats + if [ -d /var/cache/tirex/stats ] + then + rm -rf /var/cache/tirex/stats + fi + + # automatically remove tirex log directory + if [ -d /var/log/tirex ] + then + rm -rf /var/log/tirex + fi + + # automatically remove tirex share directory + if [ -d /usr/share/tirex ] + then + rm -rf /usr/share/tirex + fi -# automatically remove tirex share directory -if [ -d /usr/share/tirex ] -then - rm -rf /usr/share/tirex fi #DEBHELPER# View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/014281e31bc62f2c89ae072db7042f1674dc57fb -- View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/014281e31bc62f2c89ae072db7042f1674dc57fb You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
