main/postmarketos-ui-i3wm|mate|xfce4: remove deinstall scripts (MR 3064)

postmarketos-ui-i3wm|mate.post-deinstall:
Contains removal of file "61-autologin.conf"|"65-autologin.conf".
However, this file is removed by apk automatically unpon
deinstallation.

postmarketos-ui-i3wm|mate|xfce4.pre-deinstall:
Contains disabling service "lightdm". Removing display manager service
upon deinstallation isn't done by other UIs either. It can lead to
unexpected behaviour when installing another UI using lightdm and then
uninstall MATE UI.

Additionally
postmarketos-ui-i3wm.post-upgrade:
Removed postmarketos-ui-i3wm.post-upgrade and replaced it with a link to
postmarketos-ui-i3wm.post-install, like it's done in MATE and Xfce4.
This commit is contained in:
Jakob Hauser 2022-04-06 18:31:11 +02:00 committed by Caleb Connolly
parent cb31d2f496
commit f6c2712322
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
9 changed files with 7 additions and 25 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=postmarketos-ui-i3wm
pkgver=0.3
pkgrel=9
pkgrel=10
pkgdesc="(X11) Tiling WM (keyboard required)"
url="https://i3wm.org"
arch="noarch"
@ -25,7 +25,7 @@ depends="
xorg-server
xset
"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
install="$pkgname.post-install $pkgname.post-upgrade"
source="lock.sh 65-lightdm-autologin.conf"
options="!check"

View file

@ -1,3 +0,0 @@
#!/bin/sh
rm /usr/share/lightdm/lightdm.conf.d/65-autologin.conf

View file

@ -1,4 +0,0 @@
#!/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

View file

@ -0,0 +1 @@
postmarketos-ui-i3wm.post-install

View file

@ -1,3 +0,0 @@
#!/bin/sh
rc-update del lightdm

View file

@ -2,7 +2,7 @@
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=postmarketos-ui-mate
pkgver=5
pkgrel=1
pkgrel=2
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
url="http://mate-desktop.org/"
arch="noarch"
@ -31,7 +31,7 @@ _pmb_recommends="
pulseaudio-utils
unclutter-xfixes
"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
000-system-background.gschema.override
001-screensaver.gschema.override

View file

@ -1,3 +0,0 @@
#!/bin/sh
rm /usr/share/lightdm/lightdm.conf.d/61-autologin.conf

View file

@ -1,3 +0,0 @@
#!/bin/sh
rc-update del lightdm

View file

@ -2,7 +2,7 @@
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=postmarketos-ui-xfce4
pkgver=0.5.1
pkgrel=3
pkgrel=4
pkgdesc="(X11) Lightweight desktop (stylus recommended)"
url="https://gitlab.com/postmarketOS/xfce4-phone"
arch="noarch"
@ -39,7 +39,7 @@ _pmb_recommends="
xfce4-terminal
xfce4-whiskermenu-plugin
"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
install="$pkgname.post-install $pkgname.post-upgrade"
source="
xfce4-phone-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
10_onboard.gschema.override

View file

@ -1,3 +0,0 @@
#!/bin/sh
rc-update del lightdm