fix typo ...

This commit is contained in:
Daniel Langbein 2021-04-25 16:33:25 +02:00
parent 91b88ef960
commit 86f6d0fa42
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
_pkgname=repo _pkgname=repo
_reponame=arch-pkg _reponame=arch-pkg
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.12 pkgver=0.0.13
pkgrel=1 pkgrel=1
pkgdesc="Bash script to manage remote Arch Linux repository" pkgdesc="Bash script to manage remote Arch Linux repository"
arch=('any') arch=('any')

View File

@ -91,7 +91,7 @@ function get_pkgname(){
# remove "pkgname = " as well as tailing whitespace characters # remove "pkgname = " as well as tailing whitespace characters
local tmp 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; } PKGVER=$(echo "${tmp}" | sed 's|^pkgname\s*=\s*||; s|\s*$||') || { echo "sed failed"; return 1; }
} }
# #