diff --git a/conf/addons.src b/conf/addons.src index 293fc6b..3cc7837 100644 --- a/conf/addons.src +++ b/conf/addons.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/friendica/friendica/archive/2018.05.zip -SOURCE_SUM=9b5497423ca7ce4b581fa97ca12f412d +SOURCE_URL=https://github.com/friendica/friendica-addons/archive/2018.05.zip +SOURCE_SUM=e00143e9302b25b01886deac5302d326 SOURCE_SUM_PRG=md5sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/app.src b/conf/app.src index 25faeab..293fc6b 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/friendica/friendica-addons/archive/2018.05.zip -SOURCE_SUM=e00143e9302b25b01886deac5302d326 +SOURCE_URL=https://github.com/friendica/friendica/archive/2018.05.zip +SOURCE_SUM=9b5497423ca7ce4b581fa97ca12f412d SOURCE_SUM_PRG=md5sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/scripts/install b/scripts/install index 359de9f..3212dd6 100644 --- a/scripts/install +++ b/scripts/install @@ -107,9 +107,7 @@ ynh_add_nginx_config # configure friendica - -sudo cp $final_path/htconfig.php $final_path/.htconfig.php - +sudo cp /var/www/friendica/htconfig.php /var/www/friendica/.htconfig.php sudo sed -i "s@your.mysqlhost.com@localhost@g" $final_path/.htconfig.php sudo sed -i "s@mysqlusername@$db_name@g" $final_path/.htconfig.php sudo sed -i "s@mysqldatabasename@$db_name@g" $final_path/.htconfig.php