File: fixmanpages

package info (click to toggle)
module-init-tools 3.2-pre1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 384 kB
  • ctags: 27
  • sloc: sh: 566; makefile: 217
file content (10 lines) | stat: -rw-r--r-- 202 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

[ "$1" -a -d "$1" ] || exit 1

for file in $(find $1/usr/share/man/ -type f); do
  perl -p \
    -e 's/(depmod|lsmod|modinfo|modprobe|rmmod|insmod).old/$1.modutils/g' \
    -i $file
done