aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-19 20:53:24 -0800
committerfriendica <info@friendica.com>2015-02-19 20:53:24 -0800
commiteeec826eda8af3bccce43aae5511abfe675ff8cf (patch)
treeb45e18ce774ab2ba71fbba9e87be607b7c24a801
parent54a82467251237a3271c2dbc6d1f3bd79b2e3ef3 (diff)
downloadvolse-hubzilla-eeec826eda8af3bccce43aae5511abfe675ff8cf.tar.gz
volse-hubzilla-eeec826eda8af3bccce43aae5511abfe675ff8cf.tar.bz2
volse-hubzilla-eeec826eda8af3bccce43aae5511abfe675ff8cf.zip
update the install doc for addons - the procedure is a bit different now (although it shouldn't break anything on existing sites.)
-rw-r--r--install/INSTALL.txt10
-rwxr-xr-xutil/add_addon_repo1
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 $?