diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 15:49:25 +0000 |
commit | 464df1d5e5ab1322e2dd0a7796939fff1aeefa9a (patch) | |
tree | 6a403684e0978f0287d7f0ec0e5aab1fd31a59e1 /install-utils/remove_preformat_manpages | |
parent | Initial commit. (diff) | |
download | e2fsprogs-upstream.tar.xz e2fsprogs-upstream.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'install-utils/remove_preformat_manpages')
-rw-r--r-- | install-utils/remove_preformat_manpages | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/install-utils/remove_preformat_manpages b/install-utils/remove_preformat_manpages new file mode 100644 index 0000000..67dfff8 --- /dev/null +++ b/install-utils/remove_preformat_manpages @@ -0,0 +1,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 |