scripts: Try to remove empty directories when uninstalling.
This commit is contained in:
parent
fc4b8e71be
commit
d9c54b9d43
1 changed files with 3 additions and 0 deletions
|
@ -20,3 +20,6 @@ dist_hooks_SCRIPTS = perflogstart.sh perflogstop.sh sessiondatacollect.sh \
|
||||||
perfconfdir=$(sysconfdir)/core
|
perfconfdir=$(sysconfdir)/core
|
||||||
dist_perfconf_DATA = perflogserver.conf
|
dist_perfconf_DATA = perflogserver.conf
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
rmdir -p $(perfconfdir) || true
|
||||||
|
rmdir -p $(hooksdir) || true
|
||||||
|
|
Loading…
Reference in a new issue