Merge pull request #71 from varyoo/gogs-shell

Gogs: set shell to /bin/bash
This commit is contained in:
Martchus 2018-07-13 23:43:34 +02:00 committed by GitHub
commit 25ac74952a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ _scriptsdir=scripts
pkgname=$_pkgname
pkgver=0.11.53
pkgrel=1
pkgrel=2
epoch=1
pkgdesc='Self Hosted Git Service written in Go'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
@ -75,7 +75,7 @@ build() {
go build -x -ldflags="-s -w" -tags='sqlite pam cert'
# build sysusers file
echo "u $_pkgname $_userid \"$_pkgname user\" /var/lib/$_pkgname" > "$srcdir/$_pkgname.sysusers"
echo "u $_pkgname $_userid \"$_pkgname user\" /var/lib/$_pkgname /bin/bash" > "$srcdir/$_pkgname.sysusers"
# build tmpfiles file
echo "d /var/lib/$_pkgname 0755 $_pkgname $_pkgname