This file is indexed.

/usr/lib/kernel/install.d/50-depmod.install is in systemd 237-3ubuntu10.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

[[ $2 ]] || exit 1

case "$1" in
    add)
        exec depmod -a "$2"
        ;;
    remove)
        exec rm -f /lib/modules/"$2"/modules.{alias{,.bin},builtin.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
        ;;
    *)
        exit 0
esac