testing fix for conffile prompts
This commit is contained in:
parent
0ef129fa86
commit
5cc5d66652
6 changed files with 45 additions and 13 deletions
10
debian/nagios-plugins-standard.postinst
vendored
10
debian/nagios-plugins-standard.postinst
vendored
|
@ -1,12 +1,10 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
. /usr/share/nagios-plugins/dpkg/functions
|
||||
templdir=/usr/share/nagios-plugins/templates-standard
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
(
|
||||
cd /usr/share/nagios-plugins/templates-standard
|
||||
for f in *cfg; do
|
||||
ucf $f /etc/nagios-plugins/config/$f
|
||||
done
|
||||
);
|
||||
register_cfgs $2
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue