From 89db13eb8f298c2a56cb494a88977586e605a127 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Thu, 22 Apr 2021 11:19:15 +0200 Subject: [PATCH] fix --- pkg/de-p1st-repo/PKGBUILD | 8 +++++--- pkg/de-p1st-repo/arch-repo.cfg | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index deab955..1e6aef1 100644 --- a/pkg/de-p1st-repo/PKGBUILD +++ b/pkg/de-p1st-repo/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=repo _reponame=arch-pkg pkgname="de-p1st-$_pkgname" -pkgver=0.0.2 +pkgver=0.0.3 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') @@ -26,7 +26,9 @@ sha256sums=('SKIP') package() { cd "${_reponame}/pkg/${pkgname}" - install -Dm0544 arch-repo-push-new.sh "$pkgdir"/usr/bin/arch-repo-push-new - install -Dm0544 arch-repo-receive-new.sh "$pkgdir"/usr/bin/arch-repo-receive-new + install -Dm0555 arch-repo-push-new.sh "$pkgdir"/usr/bin/arch-repo-push-new + install -Dm0555 arch-repo-receive-new.sh "$pkgdir"/usr/bin/arch-repo-receive-new + install -Dm0644 arch-repo.cfg "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg + chown 0:0 "$pkgdir"/etc/de-p1st-repo/arch-repo.cfg } diff --git a/pkg/de-p1st-repo/arch-repo.cfg b/pkg/de-p1st-repo/arch-repo.cfg index 1518da8..4d5fd3e 100644 --- a/pkg/de-p1st-repo/arch-repo.cfg +++ b/pkg/de-p1st-repo/arch-repo.cfg @@ -1,4 +1,8 @@ +# host from ssh configuration which logs in +# as correct user to have write access to +# REMOTE_PKG_DIR REMOTE_SSH_HOST=rootnas + LOCAL_PKG_DIR=/home/custompkgs REMOTE_PKG_DIR=/mnt/data/live/arch-repo REMOTE_DB_NAME=de-p1st \ No newline at end of file