Added MANPATH profile config to busybox

This commit is contained in:
Ella-0 2021-02-03 15:24:44 +00:00
parent ac7776a449
commit fad3d36fa6
2 changed files with 5 additions and 0 deletions

View file

@ -7,6 +7,7 @@ pkgrel=1
fetch() {
curl "https://busybox.net/downloads/busybox-1.33.0.tar.bz2" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
cp ../man.sh .
}
build() {
@ -22,6 +23,9 @@ package() {
cp -r ./_install/* $pkgdir
chmod 4755 $pkgdir/bin/busybox
install -d $pkgdir/etc/profile.d
install -Dm755 ../man.sh $pkgdir/etc/profile.d
install -Dm755 ./examples/udhcp/simple.script $pkgdir/usr/share/udhcpc/default.script
rm $pkgdir/linuxrc

1
pkgs/busybox/man.sh Normal file
View file

@ -0,0 +1 @@
export MANPAGER="less -r"