diff --git a/pkg/de-p1st-repo/PKGBUILD b/pkg/de-p1st-repo/PKGBUILD index dd48daa..1fbf5c7 100644 --- a/pkg/de-p1st-repo/PKGBUILD +++ b/pkg/de-p1st-repo/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=repo _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.2.1 +pkgver=0.2.2 pkgrel=1 pkgdesc="Bash script to manage remote Arch Linux repository" arch=('any') diff --git a/pkg/de-p1st-repo/arch-repo-push-new.sh b/pkg/de-p1st-repo/arch-repo-push-new.sh index 3fb1e49..417a2ba 100644 --- a/pkg/de-p1st-repo/arch-repo-push-new.sh +++ b/pkg/de-p1st-repo/arch-repo-push-new.sh @@ -8,7 +8,7 @@ function main() { # check if at least one matching file exists match="0" for PKG in ./*.pkg.tar.{xz,zst}; do - [ -f "$PKG" ] || { echo "There are no local packages for the pattern $PKG"; continue; } + [ -f "$PKG" ] || { echo "There are no local packages inside ${LOCAL_PKG_DIR} for pattern $PKG"; continue; } # if we are here, then there is at least one match! match="1" @@ -16,7 +16,7 @@ function main() { done if [ "$match" = "0" ]; then - echo "There are no local packages" + echo "There are no local packages inside ${LOCAL_PKG_DIR}" return 0 fi @@ -29,7 +29,7 @@ function main() { # if there are no new packages to push/synchronize, then return if [ ! -s new-pkg.txt ]; then - echo "No new packages."; + echo "No new packages inside ${LOCAL_PKG_DIR}"; return 0; fi