From 86f6d0fa42d02522fc180c0af3f0264de8c62bbc Mon Sep 17 00:00:00 2001 From: langfingaz Date: Sun, 25 Apr 2021 16:33:25 +0200 Subject: [PATCH] fix typo ... --- 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 2a31c6a..42052c3 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.12 +pkgver=0.0.13 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 e274a0e..33992a1 100644 --- a/pkg/de-p1st-repo/arch-repo-receive-new.sh +++ b/pkg/de-p1st-repo/arch-repo-receive-new.sh @@ -91,7 +91,7 @@ function get_pkgname(){ # remove "pkgname = " as well as tailing whitespace characters local tmp - tmp=$(echo "${PKGINFO}" | grep '^pkname') || { echo "grep failed"; return 1; } + tmp=$(echo "${PKGINFO}" | grep '^pkgname') || { echo "grep failed"; return 1; } PKGVER=$(echo "${tmp}" | sed 's|^pkgname\s*=\s*||; s|\s*$||') || { echo "sed failed"; return 1; } } #