From 5b9731a6ffd5d869c21fb952b2c26c9537dcd734 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Tue, 16 Mar 2021 14:24:53 +0100 Subject: [PATCH] upgpkg: wallabag 2.4.2-1 upstream release --- wallabag/.SRCINFO | 8 ++++---- wallabag/PKGBUILD | 8 ++++---- wallabag/wallabag.install | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wallabag/.SRCINFO b/wallabag/.SRCINFO index 307c471..e249f79 100644 --- a/wallabag/.SRCINFO +++ b/wallabag/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = wallabag pkgdesc = Self hostable application for saving web pages - pkgver = 2.4.1 - pkgrel = 3 + pkgver = 2.4.2 + pkgrel = 1 url = http://www.wallabag.org/ install = wallabag.install arch = any @@ -20,8 +20,8 @@ pkgbase = wallabag backup = usr/share/webapps/wallabag/parameters.yml backup = var/lib/wallabag/data/db/wallabag.sqlite backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite - source = https://static.wallabag.org/releases/wallabag-release-2.4.1.tar.gz - sha256sums = 722620897e0e2f2fc769ac819e5c3527e9270d477576d194b35a4e63542c0eb7 + source = https://github.com/wallabag/wallabag/releases/download/2.4.2/wallabag-2.4.2.tar.gz + sha256sums = da56ec37ed3d78a4b4132e8a248ac4997442eefaad6f831805304a8c317569d8 pkgname = wallabag diff --git a/wallabag/PKGBUILD b/wallabag/PKGBUILD index de282d9..16aa772 100644 --- a/wallabag/PKGBUILD +++ b/wallabag/PKGBUILD @@ -2,8 +2,8 @@ # Contributor: Philipp Schmitt (philippschmittco) pkgname=wallabag -pkgver=2.4.1 -pkgrel=3 +pkgver=2.4.2 +pkgrel=1 pkgdesc='Self hostable application for saving web pages' arch=('any') url='http://www.wallabag.org/' @@ -23,8 +23,8 @@ optdepends=( ) install="$pkgname.install" options=(!strip) -source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz") -sha256sums=('722620897e0e2f2fc769ac819e5c3527e9270d477576d194b35a4e63542c0eb7') +source=("https://github.com/wallabag/wallabag/releases/download/${pkgver}/wallabag-${pkgver}.tar.gz") +sha256sums=('da56ec37ed3d78a4b4132e8a248ac4997442eefaad6f831805304a8c317569d8') backup=("etc/webapps/${pkgname}/parameters.yml" "usr/share/webapps/${pkgname}/parameters.yml" "var/lib/${pkgname}/data/db/wallabag.sqlite" diff --git a/wallabag/wallabag.install b/wallabag/wallabag.install index dff4175..41c43e2 100644 --- a/wallabag/wallabag.install +++ b/wallabag/wallabag.install @@ -7,7 +7,7 @@ post_install() { echo "" echo -n "Change the configuration to fit to your current setup, and then " echo "init wallabag by launching:" - echo "php /usr/share/webapps/wallabag/bin/console wallabag:install --env=prod" + echo "php7 /usr/share/webapps/wallabag/bin/console wallabag:install --env=prod" echo "" echo -n "To setup your webserver and enable the needed php extensions, " echo "please read: https://doc.wallabag.org/en/master/user/installation.html" @@ -38,7 +38,7 @@ post_upgrade() { echo "" echo "=====================================================================================================" echo " You need to execute any database migration with: " - echo "cd /usr/share/webapps/wallabag && sudo -u http php bin/console --env=prod doctrine:migrations:migrate" + echo "cd /usr/share/webapps/wallabag && sudo -u http php7 bin/console --env=prod doctrine:migrations:migrate" echo " " echo " Check the release notes for any other step: https://github.com/wallabag/wallabag/releases " echo "====================================================================================================="