diff --git a/srcpkgs/ischroot b/srcpkgs/ischroot new file mode 120000 index 00000000000..b9e4b904cda --- /dev/null +++ b/srcpkgs/ischroot @@ -0,0 +1 @@ +run-parts \ No newline at end of file diff --git a/srcpkgs/run-parts/template b/srcpkgs/run-parts/template index 7a1fcdf5b1f..36c56deaaf1 100644 --- a/srcpkgs/run-parts/template +++ b/srcpkgs/run-parts/template @@ -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 " +maintainer="Đoàn Trần Công Danh " 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 + } +}