pmaports/main/postmarketos-ui-plasma-desktop/postmarketos-ui-plasma-desktop-openrc.post-install
Bart Ribbers d0b1579cc7
main/postmarketos-ui-plasma-*: support openrc and systemd installs (MR 5171)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-05-28 09:33:29 -07:00

12 lines
234 B
Bash

#!/bin/sh
SDDM_CONF=/etc/sddm.conf
if [ -f ${SDDM_CONF} ]; then
if ! grep -q "InputMethod" $SDDM_CONF; then
echo "InputMethod=qtvirtualkeyboard" >> $SDDM_CONF
fi
fi
rc-update add modemmanager default
rc-update add sddm default