From ce3375d4616dbce7414cc19b31177730ae28f16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 31 Oct 2016 12:18:57 +0100 Subject: [PATCH] upgrade to 1.6 sources --- scripts/_common.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index f935adc..c4bd692 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -2,14 +2,14 @@ # Common variables # -# FreshRss version -VERSION="1.5.0" +# FreshRSS version +VERSION="1.6.0" -# Roundcube complete tarball checksum -FRESHRSS_SOURCE_SHA256="72c3dcb3e58f4cf7d7e6a06ffec0cad8540ee5aeee9024e785b56e8d55656746" +# FreshRSS complete tarball checksum +FRESHRSS_SOURCE_SHA256="358f2789a9459cd91cc3348c8e3f4c18cbd1c64d8635f6719cca8e9ddde46e7a" -# Remote URL to fetch Roundcube source tarball -FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.5.0.tar.gz" +# Remote URL to fetch FreshRSS source tarball +FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.6.0.tar.gz" PKGDIR=$(cd ../; pwd) @@ -17,15 +17,15 @@ FINAL_PATH="/var/www/freshrss" # # Common helpers # -# Download and extract FreshRss sources to the given directory +# Download and extract FreshRSS sources to the given directory # usage: extract_freshrss DESTDIR extract_freshrss() { local DESTDIR=$1 - # retrieve and extract FreshRss tarball + # retrieve and extract FreshRSS tarball rc_tarball="${DESTDIR}/freshrss.tar.gz" wget -q -O "$rc_tarball" "$FRESHRSS_SOURCE_URL" \ - || ynh_die "Unable to download FreshRss tarball" + || ynh_die "Unable to download FreshRSS tarball" echo "$FRESHRSS_SOURCE_SHA256 $rc_tarball" | sha256sum -c >/dev/null \ || ynh_die "Invalid checksum of downloaded tarball" tar xf "$rc_tarball" -C "$DESTDIR" --strip-components 1 \