~dricottone/huttese-apk

fd46df2c78c8890638826d12881fd91cd9f8889e — Drew DeVault 2 years ago b8d0d9c
hub.sr.ht: add post-upgrade
3 files changed, 4 insertions(+), 1 deletions(-)

M sr.ht/hub.sr.ht/APKBUILD
M sr.ht/hub.sr.ht/hub.sr.ht.post-install -rw-r--r-- => -rwxr-xr-x
A sr.ht/hub.sr.ht/hub.sr.ht.post-upgrade
M sr.ht/hub.sr.ht/APKBUILD => sr.ht/hub.sr.ht/APKBUILD +1 -1
@@ 21,7 21,7 @@ source="
"
export PKGVER=$pkgver
options="$options !check"
install="$pkgname.post-install"
install="$pkgname.post-install $pkgname.post-upgrade"

build() {
	python3 setup.py build

M sr.ht/hub.sr.ht/hub.sr.ht.post-install => sr.ht/hub.sr.ht/hub.sr.ht.post-install +0 -0
A sr.ht/hub.sr.ht/hub.sr.ht.post-upgrade => sr.ht/hub.sr.ht/hub.sr.ht.post-upgrade +3 -0
@@ 0,0 1,3 @@
#!/bin/sh
srht-migrate hub.sr.ht -a upgrade head
hubsrht-migrate -a upgrade head