pmaports/main/postmarketos-ui-mate/postmarketos-ui-mate.post-install
Clayton Craft e73187d343
postmarketos-ui-{xfce4,mate}: don't fail if tinydm can't be disbled (MR 3897)
Fixes this failure on a new install:
        ERROR: postmarketos-ui-xfce4-0.5.1-r11.post-install: script exited with error 1

[ci:skip-build]: already built successfully in CI
2023-02-23 08:38:57 +01:00

10 lines
298 B
Bash

#!/bin/sh
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/61-autologin.conf
rc-update add bluetooth default
rc-update add lightdm default
rc-update add networkmanager default
# Needed to fully revert pma!3887
rc-update -qq del tinydm default || true