mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 23:27:01 +02:00
run-parts: add ischroot
This commit is contained in:
parent
d6e0069be4
commit
1c92dbb574
2 changed files with 12 additions and 3 deletions
1
srcpkgs/ischroot
Symbolic link
1
srcpkgs/ischroot
Symbolic link
|
@ -0,0 +1 @@
|
|||
run-parts
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'run-parts'
|
||||
pkgname=run-parts
|
||||
version=4.11.2
|
||||
revision=1
|
||||
revision=2
|
||||
bootstrap=yes
|
||||
build_style=gnu-configure
|
||||
make_build_target=run-parts
|
||||
make_build_args="run-parts ischroot"
|
||||
short_desc="Run scripts or programs in a directory"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://tracker.debian.org/pkg/debianutils"
|
||||
changelog="http://metadata.ftp-master.debian.org/changelogs/main/d/debianutils/debianutils_${version}_changelog"
|
||||
|
@ -17,3 +17,11 @@ do_install() {
|
|||
vbin run-parts
|
||||
vman run-parts.8
|
||||
}
|
||||
|
||||
ischroot_package() {
|
||||
short_desc="Check if running inside chroot"
|
||||
pkg_install() {
|
||||
vbin ischroot
|
||||
vman ischroot.1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue