summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-02-15 13:15:15 -0400
committerJoey Hess <joeyh@joeyh.name>2016-02-15 13:23:21 -0400
commit60b79db15e2923dc9ea9d7d68926a48ba11f7ba4 (patch)
tree0078e59a6f6c381a0ea9479effdcfc4cd4e5ec98
parent75fc302e526e22c02aafd06773abb21015f4d95d (diff)
new bash completion dir
-rw-r--r--Makefile5
-rw-r--r--debian/maintscript1
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0ff9a05..70bddfa 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ bindir=${prefix}/bin
etcdir=/etc
mandir=${prefix}/share/man
vardir=/var
+completiondir=${prefix}/share/bash-completion/completions
CP=cp -R
INSTALL=install
INSTALL_EXE=${INSTALL}
@@ -27,8 +28,8 @@ install: etckeeper.version
$(INSTALL_EXE) etckeeper $(DESTDIR)$(bindir)/etckeeper
mkdir -p $(DESTDIR)$(mandir)/man8
$(INSTALL_DATA) etckeeper.8 $(DESTDIR)$(mandir)/man8/etckeeper.8
- mkdir -p $(DESTDIR)$(etcdir)/bash_completion.d
- $(INSTALL_DATA) bash_completion $(DESTDIR)$(etcdir)/bash_completion.d/etckeeper
+ mkdir -p $(DESTDIR)$(completiondir)
+ $(INSTALL_DATA) bash_completion $(DESTDIR)$(completiondir)/etckeeper
ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),apt)
mkdir -p $(DESTDIR)$(etcdir)/apt/apt.conf.d
$(INSTALL_DATA) apt.conf $(DESTDIR)$(etcdir)/apt/apt.conf.d/05etckeeper
diff --git a/debian/maintscript b/debian/maintscript
new file mode 100644
index 0000000..eae1b88
--- /dev/null
+++ b/debian/maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/bash_completion.d/etckeeper 1.18.3-1~ etckeeper