linux-update/postinst.d/99-depmod

8 lines
129 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
[ -e "$0.disabled" ] && exit 0
which depmod >/dev/null 2>&1 || exit 0
echo depmod -a >&2
exec depmod -a "$1"