|
|
|
|
533
|
# Create the configuration
|
533
|
# Create the configuration
|
534
|
postactiv_installer=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/scripts/install_cli.php
|
534
|
postactiv_installer=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/scripts/install_cli.php
|
535
|
if [ ! -f $postactiv_installer ]; then
|
535
|
if [ ! -f $postactiv_installer ]; then
|
|
|
536
|
+ rm -rf /var/www/$POSTACTIV_DOMAIN_NAME
|
536
|
echo $'No postactiv commandline installer found'
|
537
|
echo $'No postactiv commandline installer found'
|
537
|
exit 53026
|
538
|
exit 53026
|
538
|
fi
|
539
|
fi
|
|
|
|
|
555
|
# check postactiv has a config file
|
556
|
# check postactiv has a config file
|
556
|
postactiv_config_file=/var/www/$POSTACTIV_DOMAIN_NAME/htdocs/config.php
|
557
|
postactiv_config_file=/var/www/$POSTACTIV_DOMAIN_NAME/htdocs/config.php
|
557
|
if [ ! -f $postactiv_config_file ]; then
|
558
|
if [ ! -f $postactiv_config_file ]; then
|
|
|
559
|
+ rm -rf /var/www/$POSTACTIV_DOMAIN_NAME
|
558
|
echo $'Postactiv config.php not found'
|
560
|
echo $'Postactiv config.php not found'
|
559
|
exit 87586
|
561
|
exit 87586
|
560
|
fi
|
562
|
fi
|