diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-04-10 13:27:15 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-04-10 13:27:15 +0000 |
commit | 02070e2e6cb912e7456860b44cf3f76b20fee803 (patch) | |
tree | e7eed4ff624172e59abe18a409344450c26e1994 /ezjail-admin | |
parent | e8cfca48730433f90421330710f021ca006a9e70 (diff) |
Introduce ugly perl hack.
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-x | ezjail-admin | 5 |
1 files changed, 5 insertions, 0 deletions
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"} | |||
18 | ezjail_flavours=${ezjail_flavours:-"${ezjail_jaildir}/flavours"} | 18 | ezjail_flavours=${ezjail_flavours:-"${ezjail_jaildir}/flavours"} |
19 | ezjail_sourcetree=${ezjail_sourcetree:-"/usr/src"} | 19 | ezjail_sourcetree=${ezjail_sourcetree:-"/usr/src"} |
20 | ezjail_portscvsroot=${ezjail_portscvsroot:-":pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs"} | 20 | ezjail_portscvsroot=${ezjail_portscvsroot:-":pserver:anoncvs@anoncvs.at.FreeBSD.org:/home/ncvs"} |
21 | ezjail_uglyperlhack=${ezjail_uglyperlhack:-"YES"} | ||
21 | 22 | ||
22 | ezjail_mount_enable=${ezjail_mount_enable:-"YES"} | 23 | ezjail_mount_enable=${ezjail_mount_enable:-"YES"} |
23 | ezjail_devfs_enable=${ezjail_devfs_enable:-"YES"} | 24 | ezjail_devfs_enable=${ezjail_devfs_enable:-"YES"} |
@@ -389,6 +390,10 @@ setup|update) | |||
389 | fi | 390 | fi |
390 | fi | 391 | fi |
391 | 392 | ||
393 | # The ugly perl hack[tm]. Note: we wont do such things for any given | ||
394 | # port :( | ||
395 | [ "${ezjail_uglyperlhack}" = "YES" -a ! -L ${ezjail_jailbase}/usr/bin/perl ] && ln -s /usr/local/bin/perl ${ezjail_jailbase}/usr/bin/perl | ||
396 | |||
392 | ;; | 397 | ;; |
393 | *) | 398 | *) |
394 | exerr "Usage: `basename -- $0` [create|delete|list|update] {params}" | 399 | exerr "Usage: `basename -- $0` [create|delete|list|update] {params}" |