install.sh: verify correct install user
commit976caf79fdc6e8b6b3f490113100a8266d6f9b5c
authorKyle J. McKay <mackyle@gmail.com>
Sun, 31 Mar 2019 01:05:30 +0000 (30 18:05 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 31 Mar 2019 01:05:30 +0000 (30 18:05 -0700)
tree1b062f06948752bbd1ced01137458f213ec37714
parent30f00e25bc50e779e7974d5d8a590a42dc62a9c8
install.sh: verify correct install user

The install process needs to run as either the configured $mirror_user
(from Config.pm) or the superuser (when setting up an ssh chroot jail).

Check for this and complain if install is running as the wrong user.

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