From 02070e2e6cb912e7456860b44cf3f76b20fee803 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 10 Apr 2006 13:27:15 +0000 Subject: Introduce ugly perl hack. --- ezjail-admin | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index a8f9e81..9a0bbb7 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -18,6 +18,7 @@ ezjail_jailfull=${ezjail_jailfull:-"${ezjail_jaildir}/fulljail"} ezjail_flavours=${ezjail_flavours:-"${ezjail_jaildir}/flavours"} ezjail_sourcetree=${ezjail_sourcetree:-"/usr/src"} ezjail_portscvsroot=${ezjail_portscvsroot:-":pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs"} +ezjail_uglyperlhack=${ezjail_uglyperlhack:-"YES"} ezjail_mount_enable=${ezjail_mount_enable:-"YES"} ezjail_devfs_enable=${ezjail_devfs_enable:-"YES"} @@ -389,6 +390,10 @@ setup|update) fi fi + # The ugly perl hack[tm]. Note: we wont do such things for any given + # port :( + [ "${ezjail_uglyperlhack}" = "YES" -a ! -L ${ezjail_jailbase}/usr/bin/perl ] && ln -s /usr/local/bin/perl ${ezjail_jailbase}/usr/bin/perl + ;; *) exerr "Usage: `basename -- $0` [create|delete|list|update] {params}" -- cgit v1.2.3