[Forensics-changes] [SCM] debian-forensics/rkhunter branch, master, updated. debian/1.4.0-2
Julien Valroff
julien at kirya.net
Sat Oct 20 12:29:09 UTC 2012
The following commit has been merged in the master branch:
commit 4abea556e777a13a993496658bfe1d214e960766
Author: Julien Valroff <julien at kirya.net>
Date: Sat Oct 20 14:26:43 2012 +0200
Fix bashism in rkhupd.sh (Closes: #690619)
diff --git a/debian/changelog b/debian/changelog
index 5c74896..5bf4668 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ rkhunter (1.4.0-2) unstable; urgency=low
* Add Slovak translation - thanks to Slavko <slavko at slavino.sk>
(Closes: #683677)
+ * Fix bashism in rkhupd.sh (Closes: #690619)
-- Julien Valroff <julien at debian.org> Sun, 05 Aug 2012 09:54:40 +0200
diff --git a/debian/rkhupd.sh b/debian/rkhupd.sh
index 8702eb5..810e5e9 100755
--- a/debian/rkhupd.sh
+++ b/debian/rkhupd.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
-if ! grep -qsE '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' /etc/rkhunter.conf{.local,} || \
- grep -qsE '^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf{.local,}; then
+if ! grep -qsE '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' /etc/rkhunter.conf /etc/rkhunter.conf.local || \
+ grep -qsE '^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf /etc/rkhunter.conf.local; then
rkhunter --propupd --nolog
fi
--
debian-forensics/rkhunter
More information about the forensics-changes
mailing list