From eeec826eda8af3bccce43aae5511abfe675ff8cf Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 19 Feb 2015 20:53:24 -0800 Subject: update the install doc for addons - the procedure is a bit different now (although it shouldn't break anything on existing sites.) --- install/INSTALL.txt | 10 ++++++---- util/add_addon_repo | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/install/INSTALL.txt b/install/INSTALL.txt index f5edf009f..9c85e0f4b 100644 --- a/install/INSTALL.txt +++ b/install/INSTALL.txt @@ -115,14 +115,16 @@ use SSL, your webserver must not listen on port 443 at all. cd mywebsite - - Then you should clone the addon repository (separately) + - Then you should clone the addon repository (separately). We'll give this repository + a nickname of 'matrix'. You can pull in other redmatrix addon repositories by + giving them different nicknames. - git clone https://github.com/friendica/red-addons.git addon + util/add_addon_repo https://github.com/friendica/red-addons.git matrix - - For keeping the addon tree updated, you should be on you addon tree and + - For keeping the addon tree updated, you should be on your addon tree and issue a git pull - cd mywebsite/addon + cd mywebsite/extend/addon/matrix git pull diff --git a/util/add_addon_repo b/util/add_addon_repo index 1425143bb..caefe820c 100755 --- a/util/add_addon_repo +++ b/util/add_addon_repo @@ -6,6 +6,7 @@ if [ $# -eq '3' ]; then fi mkdir -p extend/addon/$2 +mkdir addon > /dev/null 2>&1 git clone $1 extend/addon/$2 if [ $? -eq '0' ]; then exit $? -- cgit v1.2.3