Skip to content
Snippets Groups Projects
Unverified Commit f6c27123 authored by Jakko's avatar Jakko Committed by Caleb Connolly
Browse files

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.
parent cb31d2f4
No related branches found
No related tags found
No related merge requests found
Pipeline #194446 passed
......@@ -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"
......
#!/bin/sh
rm /usr/share/lightdm/lightdm.conf.d/65-autologin.conf
#!/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
postmarketos-ui-i3wm.post-install
\ No newline at end of file
#!/bin/sh
rc-update del lightdm
......@@ -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
......
#!/bin/sh
rm /usr/share/lightdm/lightdm.conf.d/61-autologin.conf
#!/bin/sh
rc-update del lightdm
......@@ -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
......
#!/bin/sh
rc-update del lightdm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment