mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
upgrade to 1.6 sources
This commit is contained in:
parent
60dc5ae739
commit
ce3375d461
1 changed files with 9 additions and 9 deletions
|
@ -2,14 +2,14 @@
|
||||||
# Common variables
|
# Common variables
|
||||||
#
|
#
|
||||||
|
|
||||||
# FreshRss version
|
# FreshRSS version
|
||||||
VERSION="1.5.0"
|
VERSION="1.6.0"
|
||||||
|
|
||||||
# Roundcube complete tarball checksum
|
# FreshRSS complete tarball checksum
|
||||||
FRESHRSS_SOURCE_SHA256="72c3dcb3e58f4cf7d7e6a06ffec0cad8540ee5aeee9024e785b56e8d55656746"
|
FRESHRSS_SOURCE_SHA256="358f2789a9459cd91cc3348c8e3f4c18cbd1c64d8635f6719cca8e9ddde46e7a"
|
||||||
|
|
||||||
# Remote URL to fetch Roundcube source tarball
|
# Remote URL to fetch FreshRSS source tarball
|
||||||
FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.5.0.tar.gz"
|
FRESHRSS_SOURCE_URL="https://github.com/FreshRSS/FreshRSS/archive/1.6.0.tar.gz"
|
||||||
|
|
||||||
PKGDIR=$(cd ../; pwd)
|
PKGDIR=$(cd ../; pwd)
|
||||||
|
|
||||||
|
@ -17,15 +17,15 @@ FINAL_PATH="/var/www/freshrss"
|
||||||
#
|
#
|
||||||
# Common helpers
|
# Common helpers
|
||||||
#
|
#
|
||||||
# Download and extract FreshRss sources to the given directory
|
# Download and extract FreshRSS sources to the given directory
|
||||||
# usage: extract_freshrss DESTDIR
|
# usage: extract_freshrss DESTDIR
|
||||||
extract_freshrss() {
|
extract_freshrss() {
|
||||||
local DESTDIR=$1
|
local DESTDIR=$1
|
||||||
|
|
||||||
# retrieve and extract FreshRss tarball
|
# retrieve and extract FreshRSS tarball
|
||||||
rc_tarball="${DESTDIR}/freshrss.tar.gz"
|
rc_tarball="${DESTDIR}/freshrss.tar.gz"
|
||||||
wget -q -O "$rc_tarball" "$FRESHRSS_SOURCE_URL" \
|
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 \
|
echo "$FRESHRSS_SOURCE_SHA256 $rc_tarball" | sha256sum -c >/dev/null \
|
||||||
|| ynh_die "Invalid checksum of downloaded tarball"
|
|| ynh_die "Invalid checksum of downloaded tarball"
|
||||||
tar xf "$rc_tarball" -C "$DESTDIR" --strip-components 1 \
|
tar xf "$rc_tarball" -C "$DESTDIR" --strip-components 1 \
|
||||||
|
|
Loading…
Reference in a new issue