~ubuntu-branches/ubuntu/saucy/rkhunter/saucy

« back to all changes in this revision

Viewing changes to debian/rkhupd.sh

  • Committer: Package Import Robot
  • Author(s): Julien Valroff
  • Date: 2012-08-05 09:54:40 UTC
  • mfrom: (4.2.17 sid)
  • Revision ID: package-import@ubuntu.com-20120805095440-5v1l68ik3kc26e3e
Tags: 1.4.0-2
* Add Slovak translation - thanks to Slavko <slavko@slavino.sk>
  (Closes: #683677)
* Fix bashism in rkhupd.sh (Closes: #690619) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
set -e
3
3
 
4
 
if ! grep -qsE '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' /etc/rkhunter.conf{.local,} || \
5
 
     grep -qsE '^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf{.local,}; then
 
4
if ! grep -qsE '^DISABLE_TESTS=.*(hashes.*attributes|attributes.*hashes|properties)' /etc/rkhunter.conf /etc/rkhunter.conf.local || \
 
5
     grep -qsE '^ENABLE_TESTS=.*(hashes|attributes|properties)' /etc/rkhunter.conf /etc/rkhunter.conf.local; then
6
6
         rkhunter --propupd --nolog
7
7
fi