File: ceilometer-agent-compute.postrm

package info (click to toggle)
ceilometer 1%3A15.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,960 kB
  • sloc: python: 26,399; sh: 430; pascal: 149; makefile: 53
file content (10 lines) | stat: -rwxr-xr-x 205 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

if [ "${1}" = purge ] ; then
	rm -f /var/log/ceilometer/ceilometer-agent-compute.log*
	[ -d /var/log/ceilometer ] && rmdir --ignore-fail-on-non-empty /var/log/ceilometer
fi

#DEBHELPER#