check column existance first (resubmission_date) in update script
[tine20] / scripts / backup / restore-config.sh
1 #!/bin/bash
2
3 SOURCE_PATH=$1
4
5 if [ -e $SOURCE_PATH/config.inc.php ]; then
6     cp $SOURCE_PATH/config.inc.php /etc/tine20/config.inc.php
7     chown root:www-data /etc/tine20/config.inc.php
8     chmod 0660 /etc/tine20/config.inc.php
9 fi