-
Notifications
You must be signed in to change notification settings - Fork 0
/
man_deblob.sh
executable file
·46 lines (34 loc) · 1.06 KB
/
man_deblob.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
########################################
# name: man_deblob.sh
# main: jadedctrl
# lisc: isc
# desc: delobbing obsd man pages for
# use in lbsd.
########################################
. ./libdeblob.sh
if test -z $1; then
echo "usage: man_deblob.sh src_dir"
exit 2
else
SRC_DIR="$1"
fi
PATCH_DIR=/tmp/man_deblob
mkdir "$PATCH_DIR" 2> /dev/null
# --------------------------------------
firmwares="acx adw adv athn bnx bwi drm fxp inteldrm ips ipw iwi iwm iwn kue"
firmwares="$firmwares malo myx neo otus pgt ral radeondrm rsu rtwn rum siop"
firmwares="$firmwares tht thtc ti uath udl ulpt upgt urtwn uvideo wpi yds zyd"
for firmware in $firmwares; do
strdel "\<${firmware}.4\>" share/man/man4/Makefile
linedel "\<${firmware}.4\>" distrib/sets/lists/man/mi
filedel share/man/man4/${firmware}.4
done
# --------------------------------------
linedel "AudioSpectrum" share/man/man4/isa.4
linedel "pas 4" share/man/man4/isa.4
# --------------------------------------
linedel "./usr/share/man/man1/fw_update.1" distrib/sets/lists/man/mi
echo
echo "Applying..."
apply