From 774e2b6e984a23b74e39a468c18c2777009ff91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Requiem?= Date: Fri, 30 Mar 2018 13:05:01 +1100 Subject: [PATCH] - updated debian/scripts/history.sh to fetch changelog information from matomo.org websiute - related to matomo-org/matomo-package#62 --- debian/scripts/history.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/scripts/history.sh b/debian/scripts/history.sh index 4d9bfb4..bc34ccf 100755 --- a/debian/scripts/history.sh +++ b/debian/scripts/history.sh @@ -30,7 +30,7 @@ then exit 1 fi -CHANGELOG_URL=$(wget -O - -q 'http://piwik.org/changelog/' | grep "Piwik $1" | sed 's/.*]*\).*/\1/' | sed -e 's/"//g' -e "s/'//g" | grep ^http | grep "$1/") +CHANGELOG_URL=$(wget -O - -q 'http://matomo.org/changelog/' | grep "Matomo $1" | sed 's/.*]*\).*/\1/' | sed -e 's/"//g' -e "s/'//g" | grep ^http | grep "$1/") if [ -z "$(echo $CHANGELOG_URL | grep -i http)" ] then @@ -41,8 +41,8 @@ fi echo "Changelog url found at $CHANGELOG_URL" wget -O - -q "$CHANGELOG_URL" | \ - sed -n "/List of.*in Piwik $1.*>$/,/<\/ul>/p;" | \ - grep -e 'dev.piwik.org/trac/ticket' -e 'github.com/piwik' | \ + sed -n "/List of.*in Matomo $1.*>$/,/<\/ul>/p;" | \ + grep -e 'dev.matomo.org/trac/ticket' -e 'github.com/matomo-org' | \ sed -e :a -e 's/<[^>]*>//g;/