testing/miniflux: set home directory to /var/empty

This fixes the following error when using su:
su: can't change directory to '/home/miniflux'
This commit is contained in:
Michał Polański 2020-02-27 15:26:56 +01:00 committed by Leo
parent 88fbc5be80
commit ea940bed28
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Frédéric Guillot <fred@miniflux.net>
pkgname=miniflux
pkgver=2.0.20
pkgrel=1
pkgrel=2
pkgdesc="Minimalist and opionated feed reader"
url="https://miniflux.app/"
arch="all"

View File

@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S miniflux 2>/dev/null
adduser -S -D -H -s /sbin/nologin -G miniflux -g miniflux miniflux 2>/dev/null
adduser -S -D -H -h /var/empty -s /sbin/nologin -G miniflux -g miniflux miniflux 2>/dev/null
exit 0