From fc802e2c45de450527d8769edaf7c9436e90416a Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 15 May 2021 19:10:15 +0200 Subject: [PATCH] main/postmarketos-ui-i3wm: enable networkmanager by default (MR 2174) --- main/postmarketos-ui-i3wm/APKBUILD | 17 +++++++++++++++-- .../postmarketos-ui-i3wm.post-install | 2 ++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-ui-i3wm/APKBUILD b/main/postmarketos-ui-i3wm/APKBUILD index e2d2ec2c9..d5b05c001 100644 --- a/main/postmarketos-ui-i3wm/APKBUILD +++ b/main/postmarketos-ui-i3wm/APKBUILD @@ -1,12 +1,25 @@ # Maintainer: Martijn Braam pkgname=postmarketos-ui-i3wm pkgver=0.3 -pkgrel=6 +pkgrel=7 pkgdesc="(X11) Tiling WM (keyboard required)" url="https://i3wm.org" arch="noarch" license="GPL-3.0-or-later" -depends="xorg-server mesa-egl i3wm i3status dmenu xset xinput st lightdm lightdm-openrc elogind" +depends=" + dmenu + elogind + i3status + i3wm + lightdm + lightdm-openrc + mesa-egl + networkmanager + st + xinput + xorg-server + xset + " install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade" source="lock.sh 65-lightdm-autologin.conf" options="!check" diff --git a/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install b/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install index 95f5b7614..2c1eedc2e 100644 --- a/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install +++ b/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install @@ -1,4 +1,6 @@ #!/bin/sh sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/65-autologin.conf + rc-update add lightdm default +rc-update add networkmanager default