PKGBUILDs/community/man-pages-ru/man-pages-ru.install
2009-10-09 21:15:33 -05:00

33 lines
462 B
Text

pre_install() {
pre_upgrade
/bin/true
}
post_install() {
/bin/true
}
pre_upgrade() {
echo "-- Change /etc/man.conf"
echo "-- NROFF iconv -f utf8 -t koi8r | /usr/bin/nroff -Tlatin1 -mandoc -c | iconv -f koi8r -t utf8"
echo "-- and"
echo "-- export LESSCHARSET=UTF-8"
/bin/true
}
post_upgrade() {
echo "-- Since 0.98-3 version manpages use UTF-8!"
/bin/true
}
pre_remove() {
/bin/true
}
post_remove() {
/bin/true
}
op=$1
shift
$op $*