Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/lightdm
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-29 16:51:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-29 16:51:23 +0200
commitd2e9f7cbaeb26233ec7a6b0654cf0ad1907825f3 (patch)
tree2a842d6734a9ed9870262906ecde13ac4b27ddd5 /extra/lightdm
parent07e5853650a96bf7c258cb12a83be6ec745ffa37 (diff)
extra/lightdm: use polkit-duktate on i486
Diffstat (limited to 'extra/lightdm')
-rw-r--r--extra/lightdm/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/extra/lightdm/PKGBUILD b/extra/lightdm/PKGBUILD
index 9288f4d3..93a0e4fa 100644
--- a/extra/lightdm/PKGBUILD
+++ b/extra/lightdm/PKGBUILD
@@ -2,20 +2,18 @@
if [ "$CARCH" = 'i486' ]; then
makedepends=(${makedepends[@]//polkit/})
makedepends+=(polkit-duktape)
- if [ "$CARCH" = 'i486' ]; then
- eval "$(
- declare -f package_lightdm | \
- sed '
- /depends/s/polkit/polkit-duktape/
- '
- )"
- fi
+ eval "$(
+ declare -f package_lightdm | \
+ sed '
+ /depends/s/polkit/polkit-duktape/
+ '
+ )"
+ eval "$(
+ declare -f package_lightdm | \
+ sed '
+ /install.*lightdm.service/ a \
+ sed -i \"/.*Service.*/ a LimitMEMLOCK=infinity\" "${pkgdir}"/usr/lib/systemd/system/lightdm.service
+ '
+ )"
fi
-eval "$(
- declare -f package_lightdm | \
- sed '
- /install.*lightdm.service/ a \
- sed -i \"/.*Service.*/ a LimitMEMLOCK=infinity\" "${pkgdir}"/usr/lib/systemd/system/lightdm.service
- '
-)"