[Pkg-nagios-changes] [pkg-icingaweb2] 03/04: Move bash-completion to /usr
Markus Frosch
lazyfrosch at moszumanska.debian.org
Tue Dec 13 14:42:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
lazyfrosch pushed a commit to branch master
in repository pkg-icingaweb2.
commit dcdfdcf225dd7f069dcbaf6b065a4bd788503dea
Author: Markus Frosch <lazyfrosch at debian.org>
Date: Tue Dec 13 15:07:41 2016 +0100
Move bash-completion to /usr
---
debian/control | 1 +
debian/icingacli.bash-completion | 1 +
debian/icingacli.install | 1 -
debian/icingacli.postinst | 10 ++++++++++
debian/icingacli.preinst | 10 ++++++++++
debian/icingacli.prerm | 10 ++++++++++
debian/rules | 2 +-
7 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index c8332d1..8150e06 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel at lists.alioth.debian
Uploaders:
Markus Frosch <lazyfrosch at debian.org>
Build-Depends:
+ bash-completion,
debhelper (>= 9),
php-cli,
php-htmlpurifier (>= 4.3),
diff --git a/debian/icingacli.bash-completion b/debian/icingacli.bash-completion
new file mode 100644
index 0000000..1949fee
--- /dev/null
+++ b/debian/icingacli.bash-completion
@@ -0,0 +1 @@
+etc/bash_completion.d/icingacli
diff --git a/debian/icingacli.install b/debian/icingacli.install
index 6c2e997..089df67 100644
--- a/debian/icingacli.install
+++ b/debian/icingacli.install
@@ -1,4 +1,3 @@
packages/files/bin/icingacli usr/bin
application/clicommands usr/share/icingaweb2/application
-etc/bash_completion.d
diff --git a/debian/icingacli.postinst b/debian/icingacli.postinst
new file mode 100644
index 0000000..b6b6d55
--- /dev/null
+++ b/debian/icingacli.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+ "/etc/bash_completion.d/icingacli" "2.4.0-1~" -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/icingacli.preinst b/debian/icingacli.preinst
new file mode 100644
index 0000000..b6b6d55
--- /dev/null
+++ b/debian/icingacli.preinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+ "/etc/bash_completion.d/icingacli" "2.4.0-1~" -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/icingacli.prerm b/debian/icingacli.prerm
new file mode 100644
index 0000000..b6b6d55
--- /dev/null
+++ b/debian/icingacli.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+ "/etc/bash_completion.d/icingacli" "2.4.0-1~" -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
index 81e6d0b..4ec53b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
#export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --with bash_completion
override_dh_auto_clean:
dh_auto_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icingaweb2.git
More information about the Pkg-nagios-changes
mailing list