mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix another typo ...
This commit is contained in:
parent
86f6d0fa42
commit
f5653bf40c
@ -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.13
|
pkgver=0.0.14
|
||||||
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')
|
||||||
|
@ -87,18 +87,18 @@ function get_pkginfo(){
|
|||||||
# get pkgname from $PKGINFO
|
# get pkgname from $PKGINFO
|
||||||
#
|
#
|
||||||
function get_pkgname(){
|
function get_pkgname(){
|
||||||
# return: 0 on success
|
# return: 0 on success; variable $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 '^pkgname') || { 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; }
|
PKGNAME=$(echo "${tmp}" | sed 's|^pkgname\s*=\s*||; s|\s*$||') || { echo "sed failed"; return 1; }
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
# get pkgver from $PKGINFO
|
# get pkgver from $PKGINFO
|
||||||
#
|
#
|
||||||
function get_pkgver(){
|
function get_pkgver(){
|
||||||
# return: 0 on success
|
# return: 0 on success; variable $PKGVER
|
||||||
|
|
||||||
# remove "pkgver = " as well as tailing whitespace characters
|
# remove "pkgver = " as well as tailing whitespace characters
|
||||||
local tmp
|
local tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user