From 2a68820703732a203276688fd27366fc06ad85df Mon Sep 17 00:00:00 2001 From: afify Date: Sun, 18 Jul 2021 18:51:34 +0300 Subject: [PATCH] [doc] update clone urls to afify.dev/azan --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d069f9c..044b6d4 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@ Installation **current** ```sh -git clone https://github.com/afify/azan.git +git clone git://git.afify.dev/azan cd azan/ make make install ``` **latest release** ```sh -wget --content-disposition $(curl -s https://api.github.com/repos/afify/azan/releases/latest | tr -d '",' | awk '/tag_name/ {print "https://github.com/afify/azan/archive/"$2".tar.gz"}') +wget $(curl -s https://git.afify.dev/azan/tags.xml | grep --color=never -m 1 -o "\[v.*\]" | tr -d '[]' | awk '{print "https://git.afify.dev/azan/releases/azan-"$1".tar.gz"}') tar -xzf azan-*.tar.gz && cd azan-*/ make make install -- 2.11.4.GIT