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() { | fetch() { | ||||||
| 	curl "https://busybox.net/downloads/busybox-1.33.0.tar.bz2" -o $pkgname-$pkgver.tar.gz | 	curl "https://busybox.net/downloads/busybox-1.33.0.tar.bz2" -o $pkgname-$pkgver.tar.gz | ||||||
| 	tar -xf $pkgname-$pkgver.tar.gz | 	tar -xf $pkgname-$pkgver.tar.gz | ||||||
|  | 	cp ../man.sh . | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| build() { | build() { | ||||||
|  | @ -22,6 +23,9 @@ package() { | ||||||
| 	cp -r ./_install/* $pkgdir | 	cp -r ./_install/* $pkgdir | ||||||
| 	chmod 4755 $pkgdir/bin/busybox | 	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 | 	install -Dm755 ./examples/udhcp/simple.script $pkgdir/usr/share/udhcpc/default.script | ||||||
| 	 | 	 | ||||||
| 	rm $pkgdir/linuxrc | 	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…
	
	Add table
		Add a link
		
	
		Reference in a new issue