~sircmpwn/sr.ht-packages

sr.ht-pkgbuilds: add missing install for hub.sr.ht v1 PROPOSED

Roshless: 1
 add missing install for hub.sr.ht

 2 files changed, 5 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-packages/patches/13900/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH sr.ht-pkgbuilds] add missing install for hub.sr.ht Export this patch

---
 hub.sr.ht/PKGBUILD          | 1 +
 hub.sr.ht/hub.sr.ht.install | 4 ++++
 2 files changed, 5 insertions(+)
 create mode 100644 hub.sr.ht/hub.sr.ht.install

diff --git a/hub.sr.ht/PKGBUILD b/hub.sr.ht/PKGBUILD
index 39a644b..326e0c1 100644
--- a/hub.sr.ht/PKGBUILD
+++ b/hub.sr.ht/PKGBUILD
@@ -7,6 +7,7 @@ url="https://git.sr.ht/~sircmpwn/$pkgname"
license=('AGPL3')
depends=('python-srht')
makedepends=('nodejs' 'sassc' 'go')
install=hub.sr.ht.install
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
        "$pkgname.service"
        "sysusers.conf")
diff --git a/hub.sr.ht/hub.sr.ht.install b/hub.sr.ht/hub.sr.ht.install
new file mode 100644
index 0000000..972e2ac
--- /dev/null
+++ b/hub.sr.ht/hub.sr.ht.install
@@ -0,0 +1,4 @@
post_upgrade() {
	srht-migrate hub.sr.ht -a upgrade head
	hubsrht-migrate -a upgrade head
}
-- 
2.28.0
Thanks!

To git@git.sr.ht:~sircmpwn/sr.ht-pkgbuilds
   324949d..f8a4975  master -> master