wiki: Skip non-files when grepping for collab user
Moin 1.9.8 creates cache in userdir and egrep on Ubuntu 14.04 returns error if grepping directories.
This commit is contained in:
parent
f49eb1710a
commit
14d0b375d4
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ class wiki::collab {
|
|||
cwd => "/",
|
||||
user => "collab",
|
||||
group => "collab",
|
||||
unless => "egrep '^name=collab$' /srv/wikis/collab/user/*",
|
||||
unless => "egrep -D skip -d skip '^name=collab$' /srv/wikis/collab/user/*",
|
||||
require => Exec["collab-create collab collab"],
|
||||
before => Cron["collab-htaccess"],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue