main/postmarketos-ui-sxmo: add post-upgrade and pre-deinstall hooks (MR 1952)
This commit is contained in:
parent
e4820e1ed2
commit
7c62928fd5
4 changed files with 12 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: Miles Alan <m@milesalan.com>
|
||||
pkgname=postmarketos-ui-sxmo
|
||||
pkgver=1.3.0
|
||||
pkgrel=1
|
||||
pkgver=1.3.1
|
||||
pkgrel=0
|
||||
pkgdesc="(X11) Simple X Mobile: Mobile environment based on simple & suckless software (best compatibility on pinephone)"
|
||||
url="http://sr.ht/~mil/Sxmo"
|
||||
arch="noarch !armhf"
|
||||
license="MIT"
|
||||
depends="sxmo-xdm-config sxmo-xdm-config-openrc sxmo-utils-openrc"
|
||||
install="$pkgname.post-install"
|
||||
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.pre-deinstall"
|
||||
_pmb_recommends="
|
||||
firefox-esr
|
||||
gnome-icon-theme
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update -q add sxmo-pinephone default
|
||||
rc-update -q add modemmanager default
|
||||
rc-update -q add xdm default
|
||||
rc-update add sxmo-pinephone default
|
||||
rc-update add modemmanager default
|
||||
rc-update add xdm default
|
||||
|
|
1
main/postmarketos-ui-sxmo/postmarketos-ui-sxmo.post-upgrade
Symbolic link
1
main/postmarketos-ui-sxmo/postmarketos-ui-sxmo.post-upgrade
Symbolic link
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-sxmo.post-install
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
rc-update del sxmo-pinephone default
|
||||
rc-update del modemmanager default
|
||||
rc-update del xdm default
|
Loading…
Reference in a new issue