Skip to content

Commit

Permalink
Make permissions of Gogs config file consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Dec 19, 2018
1 parent c6cefab commit 118f1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gitea/default/PKGBUILD
Expand Up @@ -106,6 +106,7 @@ package() {
cp -r "$srcdir/build/src/${_gourl}/templates" "$pkgdir/usr/share/${_pkgname}"

mkdir -p "$pkgdir/etc/$_pkgname"
chmod 775 "$pkgdir/etc/$_pkgname"
install -Dm0664 -g "$_userid" "$pkgdir/usr/share/$_pkgname/conf/app.ini"* "$pkgdir/etc/$_pkgname/app.ini"
install -Dm0644 "$srcdir/build/src/${_gourl}/${_scriptsdir}/systemd/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
install -Dm0644 "$srcdir/build/src/${_gourl}/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname"
Expand Down
1 change: 1 addition & 0 deletions gogs/default/PKGBUILD
Expand Up @@ -106,6 +106,7 @@ package() {
cp -r "$srcdir/build/src/${_gourl}/templates" "$pkgdir/usr/share/${_pkgname}"

mkdir -p "$pkgdir/etc/$_pkgname"
chmod 775 "$pkgdir/etc/$_pkgname"
install -Dm0664 -g "$_userid" "$pkgdir/usr/share/$_pkgname/conf/app.ini"* "$pkgdir/etc/$_pkgname/app.ini"
install -Dm0644 "$srcdir/build/src/${_gourl}/${_scriptsdir}/systemd/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
install -Dm0644 "$srcdir/build/src/${_gourl}/LICENSE" "$pkgdir/usr/share/licenses/$_pkgname"
Expand Down

0 comments on commit 118f1ec

Please sign in to comment.