mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
arch repo v0.1
This commit is contained in:
parent
4f27a51a8b
commit
4d84ea2479
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user