index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-29 16:51:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-05-29 16:51:23 +0200 |
commit | d2e9f7cbaeb26233ec7a6b0654cf0ad1907825f3 (patch) | |
tree | 2a842d6734a9ed9870262906ecde13ac4b27ddd5 /extra/lightdm | |
parent | 07e5853650a96bf7c258cb12a83be6ec745ffa37 (diff) |
-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 - ' -)" |