summaryrefslogtreecommitdiffstats
path: root/install-utils/remove_preformat_manpages
blob: 67dfff8b5cf881173ea34cdea25a9e2cc444b910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

PREFORMAT_ROOT=/usr/man/preformat
COMPILED_ROOT=/usr/man

MAN8="debugfs.8 badblocks.8 e2fsck.8 mke2fs.8 dumpe2fs.8 mklost+found.8 \
	fsck.8 tune2fs.8 e2label.8"
MAN1="lsattr.1 chattr.1"

for i in $MAN8
do
	rm -f $PREFORMAT_ROOT/cat8/$i $COMPILED_ROOT/cat8/$i \
		$PREFORMAT_ROOT/cat8/$i.gz $COMPILED_ROOT/cat8/$i.gz
done


for i in $MAN1
do
	rm -f $PREFORMAT_ROOT/cat1/$i $COMPILED_ROOT/cat1/$i \
		$PREFORMAT_ROOT/cat1/$i.gz $COMPILED_ROOT/cat1/$i.gz
done