diff options
Diffstat (limited to 'source/ap/man-db/man-db.SlackBuild')
-rwxr-xr-x | source/ap/man-db/man-db.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/ap/man-db/man-db.SlackBuild b/source/ap/man-db/man-db.SlackBuild index 4d8d4bf1..7a5e24dd 100755 --- a/source/ap/man-db/man-db.SlackBuild +++ b/source/ap/man-db/man-db.SlackBuild @@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=man-db VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} MAN2HTML=${MAN2HTML:-20180101} @@ -232,6 +232,14 @@ mkdir -p $PKG/var/cache/man mkdir -p $PKG/etc/cron.daily install -m0755 -oroot -groot $CWD/$PKGNAM.cron $PKG/etc/cron.daily/$PKGNAM +# Choose a pager (defaults to 'most'): +mkdir -p $PKG/etc/profile.d +cp -a $CWD/man-db.sh $CWD/man-db.csh $PKG/etc/profile.d +chown root:root $PKG/etc/profile.d/* +chmod 755 $PKG/etc/profile.d/* +mv $PKG/etc/profile.d/man-db.csh $PKG/etc/profile.d/man-db.csh.new +mv $PKG/etc/profile.d/man-db.sh $PKG/etc/profile.d/man-db.sh.new + # modified default config, customized for Slackware. See the conf file for # list of changes. cat $CWD/man_db.conf.new \ |