You have a typo in the install message:
Will ONLY wokr in dynamic mode at the moment
Also this bit is wrong:
unlink "$CFG->{admin_root_path}/settings.inc.php" if -d "$CFG->{admin_root_path}/settings.inc.php";
-d is checking for a directory.
Will ONLY wokr in dynamic mode at the moment
Also this bit is wrong:
unlink "$CFG->{admin_root_path}/settings.inc.php" if -d "$CFG->{admin_root_path}/settings.inc.php";
-d is checking for a directory.