Added MANPATH profile config to busybox
This commit is contained in:
parent
ac7776a449
commit
fad3d36fa6
2 changed files with 5 additions and 0 deletions
|
@ -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
1
pkgs/busybox/man.sh
Normal file
|
@ -0,0 +1 @@
|
|||
export MANPAGER="less -r"
|
Loading…
Reference in a new issue