summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
- '
-)"