updatedb: merge contribution of Stephan

Signed-off-by: Hiroshi Miura <miurahr@linux.com>