install.sh: compute a 'usejail' value and use it
commit613e05021cb835d92edbeacf9cb3f16f633850d0
authorKyle J. McKay <mackyle@gmail.com>
Mon, 23 Nov 2020 21:11:22 +0000 (23 14:11 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 23 Nov 2020 21:11:22 +0000 (23 14:11 -0700)
tree0089fc1e995a9306522cde9aab218ae35909bb94
parentcbac00465beaf10735be583de84198cfc3ec681f
install.sh: compute a 'usejail' value and use it

Instead of checking disable_jailsetup and chrooted separately to
determine whether or not a chroot jail is in use, compute a
'usejail' value and check that instead.

If jail setup is NOT disabled AND we are chrooted then we
ARE using a chroot jail.

Use the new 'usejail' value to make sure the "dbonly" setup
always happens if a chroot jail is not in use.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
install.sh