File: postrm

package info (click to toggle)
prometheus-libvirt-exporter 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 152 kB
  • sloc: sh: 90; makefile: 20
file content (15 lines) | stat: -rw-r--r-- 315 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# postrm script for prometheus-libvirt-exporter
# Script executed after the package is removed.

set -e

case "$1" in
  purge)
        rm -rf /var/lib/prometheus/libvirt-exporter/ \
            /var/run/prometheus/prometheus-libvirt-exporter.pid
	# We do NOT remove the system user.
	;;
esac

#DEBHELPER#