diff options
author | Lennart Weller <lhw@ring0.de> | 2016-05-18 11:02:04 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2016-05-18 11:02:04 +0000 |
commit | fccd791fee593c55308e74c23d20562a321dc4d8 (patch) | |
tree | 37f0e2b3ebd1aae50a70f100a41a7c66e7c057a9 | |
parent | updated todo with known packages for js/fonts (diff) | |
parent | Update dependencies (diff) | |
download | netdata-fccd791fee593c55308e74c23d20562a321dc4d8.tar.xz netdata-fccd791fee593c55308e74c23d20562a321dc4d8.zip |
merged netdata depends line
-rw-r--r-- | debian/TODO.Debian | 2 | ||||
-rw-r--r-- | debian/control | 4 | ||||
-rw-r--r-- | debian/netdata.postrm | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/debian/TODO.Debian b/debian/TODO.Debian index 6d3eb9f0..941b31e0 100644 --- a/debian/TODO.Debian +++ b/debian/TODO.Debian @@ -17,8 +17,6 @@ - web/lib/morris.min.js * Create additional or keep them in mind for future linking * Restrict security permissions in netdata.service -* Do cleanup when apt-get purge is run - * delete user, /var/cache/netdata, /var/log/netdata * Move arch-indep data to -data package * Move interpreter specific plugins to additional packages. e.g. -plugins-nodejs * No massive dependency tree for the simple netdata version diff --git a/debian/control b/debian/control index 435c5fb6..c00d4169 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Depends: adduser, ${misc:Depends}, ${misc:Pre-Depends}, ${shlibs:Depends} -Recommends: netdata-plugins-nodejs +Suggests: netdata-plugins-nodejs Description: real-time charts for system monitoring Netdata is a daemon that collects data in realtime (per second) and presents a web site to view and analyze them. The presentation @@ -47,7 +47,7 @@ Description: real-time charts for system monitoring Package: netdata-plugins-nodejs Architecture: all Multi-Arch: foreign -Depends: nodejs, ${misc:Depends}, ${shlibs:Depends} +Depends: nodejs, netdata, ${misc:Depends}, ${shlibs:Depends} Description: real-time charts for system monitoring Netdata is a daemon that collects data in realtime (per second) and presents a web site to view and analyze them. The presentation diff --git a/debian/netdata.postrm b/debian/netdata.postrm index 7ac581d8..1e4677f8 100644 --- a/debian/netdata.postrm +++ b/debian/netdata.postrm @@ -12,6 +12,7 @@ case "$1" in dpkg-statoverride --remove "$dir_name" fi done + rm -rf /var/cache/netdata /var/log/netdata if getent passwd netdata >/dev/null; then deluser --quiet --system netdata || echo "Unable to remove netdata user" |