main/postmarketos-ui-{mate,xfce4}: separate openrc and main post-install scripts (MR 5735)
Split the post-install scripts for the main package and the openrc subpackage. They act on different things. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
f568f4e2ec
commit
6e00f34f61
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Jakko <jahau@rocketmail.com>
|
||||
pkgname=postmarketos-ui-mate
|
||||
pkgver=7
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
|
||||
url="http://mate-desktop.org/"
|
||||
arch="noarch"
|
||||
|
@ -32,6 +32,7 @@ _pmb_recommends="
|
|||
onboard
|
||||
unclutter-xfixes
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="
|
||||
000-system-background.gschema.override
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/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 elogind default
|
||||
rc-update add lightdm default
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/61-autologin.conf
|
1
main/postmarketos-ui-mate/postmarketos-ui-mate.post-upgrade
Symbolic link
1
main/postmarketos-ui-mate/postmarketos-ui-mate.post-upgrade
Symbolic link
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-mate.post-install
|
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Jakko <jahau@rocketmail.com>
|
||||
pkgname=postmarketos-ui-xfce4
|
||||
pkgver=0.5.2
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="(X11) Lightweight desktop (stylus recommended)"
|
||||
url="https://gitlab.postmarketos.org/postmarketOS/xfce4-phone"
|
||||
arch="noarch"
|
||||
|
@ -37,6 +37,7 @@ _pmb_recommends="
|
|||
xfce4-terminal
|
||||
xfce4-whiskermenu-plugin
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="
|
||||
xfce4-phone-$pkgver.tar.gz::https://gitlab.postmarketos.org/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/64-autologin.conf
|
||||
|
||||
rc-update add bluetooth default
|
||||
rc-update add elogind default
|
||||
rc-update add lightdm default
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/64-autologin.conf
|
1
main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade
Symbolic link
1
main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade
Symbolic link
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-xfce4.post-install
|
Loading…
Reference in New Issue
Block a user