diff options
author | Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> | 2019-10-18 16:56:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 16:56:20 +0300 |
commit | eb01440d2a88fd162f4063a11cd476e185f913ee (patch) | |
tree | 21bfc691208dedf48f7318883e5672ddd510a118 /contrib/debian/netdata.postrm | |
parent | 8f1ee072f151a1a553959af27b7ae42cff7b311b (diff) |
Fix upgrade path from v1.17.1 to v1.18.x for deb packages (#7118)
Diffstat (limited to 'contrib/debian/netdata.postrm')
-rw-r--r-- | contrib/debian/netdata.postrm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/debian/netdata.postrm b/contrib/debian/netdata.postrm index 94e82bcd45..de93dad1ae 100644 --- a/contrib/debian/netdata.postrm +++ b/contrib/debian/netdata.postrm @@ -2,6 +2,19 @@ set -e +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/.well-known /usr/share/netdata/www/.well-known 1.18.1~ netdata -- "$@" +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/css /usr/share/netdata/www/css 1.18.1~ netdata -- "$@" +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/fonts /usr/share/netdata/www/fonts 1.18.1~ netdata -- "$@" +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/images /usr/share/netdata/www/images 1.18.1~ netdata -- "$@" +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/lib /usr/share/netdata/www/lib 1.18.1~ netdata -- "$@" +dpkg-maintscript-helper dir_to_symlink \ + /var/lib/netdata/www/static /usr/share/netdata/www/static 1.18.1~ netdata -- "$@" + case "$1" in remove) ;; |