From 4d84ea2479748d3126b1fb9aecc11789ec328426 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Sun, 25 Apr 2021 20:11:13 +0200 Subject: [PATCH] arch repo v0.1 --- pkg/de-p1st-repo/PKGBUILD | 2 +- pkg/de-p1st-repo/arch-repo-receive-new.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index e2b883d..1438825 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.16 +pkgver=0.1.0 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') diff --git a/pkg/de-p1st-repo/arch-repo-receive-new.sh b/pkg/de-p1st-repo/arch-repo-receive-new.sh index 05b66df..d0a8a28 100644 --- a/pkg/de-p1st-repo/arch-repo-receive-new.sh +++ b/pkg/de-p1st-repo/arch-repo-receive-new.sh @@ -68,7 +68,7 @@ function sort_pkgname_pkgver(){ get_pkgname "$PKGINFO" || { echo "get_pkgname failed"; echo "Content of PKGINFO: ${PKGINFO}"; return 1; } get_pkgver "$PKGINFO" || { echo "get_pkgver failed"; echo "Content of PKGINFO: ${PKGINFO}"; return 1; } - echo "Creating file ./db/${PKGNAME} with content ${PKG} ..." + echo "Creating file ./db/${PKGNAME}/${PKGVER} with content ${PKG} ..." mkdir -p "db/${PKGNAME}" || return $? echo "${PKG}" > "db/${PKGNAME}/${PKGVER}" || return $? done