Module: check_mk
Branch: master
Commit: cf882a9305b99bd8d992b09f6cae09d16905f09f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cf882a9305b99b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Sep 5 16:14:56 2017 +0200
Fixed bash completion filename
Change-Id: I42be2004d9ebb9d95d63c0be3c39bde47c3f9fcd
---
omd/debian/postinst.in | 2 +-
omd/omd.spec.in | 2 +-
omd/packages/omd/Makefile | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/omd/debian/postinst.in b/omd/debian/postinst.in
index 45388d6..a1fd761 100755
--- a/omd/debian/postinst.in
+++ b/omd/debian/postinst.in
@@ -45,7 +45,7 @@ case "$1" in
update-alternatives --install /omd/versions/default \
omd /omd/versions/###OMD_VERSION### ###OMD_SERIAL### \
--slave /usr/bin/omd omd.bin /omd/versions/###OMD_VERSION###/bin/omd \
- --slave /etc/bash_completion.d/omd omd.bash_completion
/omd/versions/###OMD_VERSION###/lib/omd/omd_bash_completion \
+ --slave /etc/bash_completion.d/omd omd.bash_completion
/omd/versions/###OMD_VERSION###/lib/omd/bash_completion \
--slave /usr/share/man/man8/omd.8.gz omd.man8 \
/omd/versions/###OMD_VERSION###/share/man/man8/omd.8.gz
diff --git a/omd/omd.spec.in b/omd/omd.spec.in
index eff9f5a..a70488e 100644
--- a/omd/omd.spec.in
+++ b/omd/omd.spec.in
@@ -81,7 +81,7 @@ ln -sfn "%{version}" /omd/versions/default
ln -sfn /omd/versions/default/bin/omd /usr/bin/omd
ln -sfn /omd/versions/default/share/man/man8/omd.8.gz /usr/share/man/man8/omd.8.gz
ln -sfn /omd/versions/default/share/omd/apache.conf @APACHE_CONFDIR@/zzz_omd.conf
-ln -sfn /omd/versions/default/lib/omd/omd_bash_completion /etc/bash_completion.d/omd
+ln -sfn /omd/versions/default/lib/omd/bash_completion /etc/bash_completion.d/omd
IS_SYSTEMD=0
if [ -d /usr/lib/systemd ] && which systemctl >/dev/null 2>&1; then
diff --git a/omd/packages/omd/Makefile b/omd/packages/omd/Makefile
index 0db60a7..1353e69 100644
--- a/omd/packages/omd/Makefile
+++ b/omd/packages/omd/Makefile
@@ -30,7 +30,7 @@ install:
mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/omd
install -m 644 init_profile $(DESTDIR)$(OMD_ROOT)/lib/omd/
install -m 755 port_is_used $(DESTDIR)$(OMD_ROOT)/lib/omd/
- install -m 644 omd_bash_completion $(DESTDIR)$(OMD_ROOT)/lib/omd/
+ install -m 644 bash_completion $(DESTDIR)$(OMD_ROOT)/lib/omd/
mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/omd/scripts/post-create