mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
help2man: 1.43.3
This commit is contained in:
parent
3975bf89fe
commit
a5fcd61cc4
BIN
help2man/.PKGBUILD.kate-swp
Normal file
BIN
help2man/.PKGBUILD.kate-swp
Normal file
Binary file not shown.
18
help2man/help2man.install
Normal file
18
help2man/help2man.install
Normal file
@ -0,0 +1,18 @@
|
||||
info_dir=/usr/share/info
|
||||
info_files=(help2man.info)
|
||||
|
||||
post_install() {
|
||||
for f in ${info_files[@]}; do
|
||||
install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
for f in ${info_files[@]}; do
|
||||
install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue
Block a user