hub.sr.ht: add post-upgrade

This commit is contained in:
Drew DeVault 2022-06-29 17:34:32 +02:00
parent b8d0d9c18b
commit fd46df2c78
3 changed files with 4 additions and 1 deletions

View File

@ -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

0
sr.ht/hub.sr.ht/hub.sr.ht.post-install Normal file → Executable file
View File

View File

@ -0,0 +1,3 @@
#!/bin/sh
srht-migrate hub.sr.ht -a upgrade head
hubsrht-migrate -a upgrade head