Skip to content
Snippets Groups Projects
Commit bd327011 authored by Bob Mottram's avatar Bob Mottram
Browse files

Set installed flag

parent 56440acc
No related branches found
No related tags found
No related merge requests found
......@@ -6560,8 +6560,10 @@ function upgrade_owncloud_finish {
sed -i "s|'dbuser'.*|'dbuser' => '$OWNCLOUD_DBUSER',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'dbpassword'.*|'dbpassword' => '$OWNCLOUD_DBPASS',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'secret'.*|'secret' => '$OWNCLOUD_SECRET',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'installed'.*|'secret' => true,|g" $OWNCLOUD_PATH/config/config.php
fi
 
cp $OWNCLOUD_PATH/config/config.php $OWNCLOUD_PATH/config/config.upgrade
chown root:root $OWNCLOUD_PATH/config/config.php
 
# re-index the files
......@@ -6922,6 +6924,7 @@ function install_owncloud_official_deb {
sed -i "s|'dbuser'.*|'dbuser' => '$OWNCLOUD_DBUSER',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'dbpassword'.*|'dbpassword' => '$OWNCLOUD_DBPASS',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'mail_domain'.*|'mail_domain' => '$DEFAULT_DOMAIN_NAME',|g" $OWNCLOUD_PATH/config/config.php
sed -i "s|'installed'.*|'secret' => true,|g" $OWNCLOUD_PATH/config/config.php
fi
 
echo 'install_owncloud_official_deb' >> $COMPLETION_FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment