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.postinst.in | |
parent | 8f1ee072f151a1a553959af27b7ae42cff7b311b (diff) |
Fix upgrade path from v1.17.1 to v1.18.x for deb packages (#7118)
Diffstat (limited to 'contrib/debian/netdata.postinst.in')
-rw-r--r-- | contrib/debian/netdata.postinst.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/debian/netdata.postinst.in b/contrib/debian/netdata.postinst.in index 44b53ccfbd..602f21c722 100644 --- a/contrib/debian/netdata.postinst.in +++ b/contrib/debian/netdata.postinst.in @@ -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 configure) if [ -z "$2" ]; then |