OCaml 4.14.0 rebuild
[arch-packages.git] / kmod / trunk / depmod.script
blob91c1f2eab4d0e27586723b78c5b046f0c6cd1014
1 #!/bin/bash
3 while read -r f; do
4 if [[ -e ${f}modules.order ]]; then
5 depmod $(basename "$f")
6 elif [[ -d $f ]]; then
7 rm -f "${f}"modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \
8 "${f}"modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin}
9 rmdir --ignore-fail-on-non-empty "$f"
11 done
13 # vim:set ft=sh sw=2 et: