diff --git a/pkgs/busybox/build.sh b/pkgs/busybox/build.sh index 162f279..45c3a7c 100644 --- a/pkgs/busybox/build.sh +++ b/pkgs/busybox/build.sh @@ -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 diff --git a/pkgs/busybox/man.sh b/pkgs/busybox/man.sh new file mode 100644 index 0000000..81ab166 --- /dev/null +++ b/pkgs/busybox/man.sh @@ -0,0 +1 @@ +export MANPAGER="less -r"