diff options
Diffstat (limited to 'testdata/repos')
-rw-r--r-- | testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild new file mode 100644 index 00000000..1282287f --- /dev/null +++ b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild @@ -0,0 +1,14 @@ +EAPI=6 + +DESCRIPTION="Ebuild using banned commands" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" +SLOT="0" +LICENSE="BSD" + +pkg_preinst() { + usermod -s /bin/bash uucp || die +} + +pkg_postrm() { + usermod -s /bin/false uucp || die +} |