diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-14 10:35:55 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-14 10:35:55 +0200 |
commit | 507a978fc7cc62795c2013cfca086cf825f3545a (patch) | |
tree | 3ea65b33cc574b8cb7e7b6c7aee0d741acdf1b9e | |
parent | fe260abbef8525ae346394761063409579c219a1 (diff) | |
download | packages-507a978fc7cc62795c2013cfca086cf825f3545a.tar.xz |
community/lxsession: more polkit-duktape fixes for i486
-rw-r--r-- | community/lxsession/PKGBUILD | 14 |
1 files changed, 14 insertions, 0 deletions
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 |