From 507a978fc7cc62795c2013cfca086cf825f3545a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 May 2021 10:35:55 +0200 Subject: community/lxsession: more polkit-duktape fixes for i486 --- community/lxsession/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'community/lxsession') diff --git a/community/lxsession/PKGBUILD b/community/lxsession/PKGBUILD index 89363abe..1a30f4fa 100644 --- a/community/lxsession/PKGBUILD +++ b/community/lxsession/PKGBUILD @@ -2,4 +2,18 @@ if [ "$CARCH" = 'i486' ]; then depends=(${depends[@]//polkit/}) depends+=(polkit-duktape) + if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f package_lxsession | \ + sed ' + s/polkit/polkit-duktape/ + ' + )" + eval "$( + declare -f package_lxsession-gtk3 | \ + sed ' + s/polkit/polkit-duktape/ + ' + )" + fi fi -- cgit v1.2.3-70-g09d2