From f5653bf40c6c25d1a6a2dd5fb411b9458b2bb8ac Mon Sep 17 00:00:00 2001 From: langfingaz Date: Sun, 25 Apr 2021 16:37:01 +0200 Subject: [PATCH] fix another typo ... --- pkg/de-p1st-repo/PKGBUILD | 2 +- pkg/de-p1st-repo/arch-repo-receive-new.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index 42052c3..6bf569f 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.13 +pkgver=0.0.14 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 33992a1..cc3d507 100644 --- a/pkg/de-p1st-repo/arch-repo-receive-new.sh +++ b/pkg/de-p1st-repo/arch-repo-receive-new.sh @@ -87,18 +87,18 @@ function get_pkginfo(){ # get pkgname from $PKGINFO # function get_pkgname(){ - # return: 0 on success + # return: 0 on success; variable $PKGNAME # remove "pkgname = " as well as tailing whitespace characters local tmp 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; } + PKGNAME=$(echo "${tmp}" | sed 's|^pkgname\s*=\s*||; s|\s*$||') || { echo "sed failed"; return 1; } } # # get pkgver from $PKGINFO # function get_pkgver(){ - # return: 0 on success + # return: 0 on success; variable $PKGVER # remove "pkgver = " as well as tailing whitespace characters local tmp