Remove the initial armadillo config if necessary
This commit is contained in:
parent
d145cf739f
commit
90501bd145
|
@ -849,6 +849,9 @@ function gnusocial_use_armadillo {
|
|||
sed -i "s|// addPlugin('Qvitter')|addPlugin('Qvitter')|g" /var/www/$domain_name/htdocs/config.php
|
||||
fi
|
||||
|
||||
if [ -f $INSTALL_DIR/armadillo/armadillo/config.json ]; then
|
||||
rm $INSTALL_DIR/armadillo/armadillo/config.json
|
||||
fi
|
||||
cp -r $INSTALL_DIR/armadillo/armadillo/* /var/www/${domain_name}/htdocs/armadillo
|
||||
cp $INSTALL_DIR/armadillo/armadillo.html /var/www/${domain_name}/htdocs/index.html
|
||||
cp $INSTALL_DIR/armadillo/dash.html /var/www/${domain_name}/htdocs/dash.html
|
||||
|
|
Loading…
Reference in New Issue