From d9c54b9d4300b2147c668dd150bed954d487baa7 Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Tue, 26 May 2015 17:34:18 +0000 Subject: [PATCH] scripts: Try to remove empty directories when uninstalling. --- scripts/perf/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/perf/Makefile.am b/scripts/perf/Makefile.am index c99c2685..b9ea48d7 100644 --- a/scripts/perf/Makefile.am +++ b/scripts/perf/Makefile.am @@ -20,3 +20,6 @@ dist_hooks_SCRIPTS = perflogstart.sh perflogstop.sh sessiondatacollect.sh \ perfconfdir=$(sysconfdir)/core dist_perfconf_DATA = perflogserver.conf +uninstall-hook: + rmdir -p $(perfconfdir) || true + rmdir -p $(hooksdir) || true