mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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'
|
# Template file for 'run-parts'
|
||||||
pkgname=run-parts
|
pkgname=run-parts
|
||||||
version=4.11.2
|
version=4.11.2
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
make_build_target=run-parts
|
make_build_args="run-parts ischroot"
|
||||||
short_desc="Run scripts or programs in a directory"
|
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"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://tracker.debian.org/pkg/debianutils"
|
homepage="https://tracker.debian.org/pkg/debianutils"
|
||||||
changelog="http://metadata.ftp-master.debian.org/changelogs/main/d/debianutils/debianutils_${version}_changelog"
|
changelog="http://metadata.ftp-master.debian.org/changelogs/main/d/debianutils/debianutils_${version}_changelog"
|
||||||
|
@ -17,3 +17,11 @@ do_install() {
|
||||||
vbin run-parts
|
vbin run-parts
|
||||||
vman run-parts.8
|
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