diff options
author | Marcin Deranek <gringo@slonko.net> | 2017-11-12 20:33:54 +0100 |
---|---|---|
committer | Marcin Deranek <gringo@slonko.net> | 2017-11-12 20:33:54 +0100 |
commit | 50808bddd7abfc7c2302e2c1478eaad82db2d348 (patch) | |
tree | daa2af9bd463d6dd162b80cea5f3e70e147deaf2 /lxde-base/lxdm/lxdm-0.5.3.ebuild | |
parent | 79c7ea1589436a775c4fe33fae5c1fd98f080dc7 (diff) | |
download | portage-50808bddd7abfc7c2302e2c1478eaad82db2d348.tar.gz portage-50808bddd7abfc7c2302e2c1478eaad82db2d348.tar.bz2 portage-50808bddd7abfc7c2302e2c1478eaad82db2d348.zip |
Already upstream
Diffstat (limited to 'lxde-base/lxdm/lxdm-0.5.3.ebuild')
-rw-r--r-- | lxde-base/lxdm/lxdm-0.5.3.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lxde-base/lxdm/lxdm-0.5.3.ebuild b/lxde-base/lxdm/lxdm-0.5.3.ebuild index 87433cd..8627457 100644 --- a/lxde-base/lxdm/lxdm-0.5.3.ebuild +++ b/lxde-base/lxdm/lxdm-0.5.3.ebuild @@ -15,7 +15,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="consolekit debug gnome-keyring gtk3 nls pam selinux" +IUSE="consolekit debug gnome-keyring gtk3 nls pam selinux systemd" RDEPEND="consolekit? ( sys-auth/consolekit ) x11-libs/libxcb @@ -40,6 +40,9 @@ src_prepare() { if ! use gnome-keyring; then sed -i -e '/pam_gnome_keyring.so/d' pam/lxdm fi + if use systemd; then + echo -e "[cmd]\nreboot = systemctl reboot\nshutdown = systemctl poweroff" >> data/lxdm.conf.in + fi # Allow user to apply any additional patches without modifing ebuild epatch_user |