index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/lightdm/PKGBUILD | 28 |
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 - ' -)" |