diff options
-rwxr-xr-x | db-repo-add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db-repo-add b/db-repo-add index 9661b91..b83fb77 100755 --- a/db-repo-add +++ b/db-repo-add @@ -30,8 +30,8 @@ done for tarch in ${tarches[@]}; do for pkgfile in ${pkgfiles[@]}; do - if [[ ! -f $pkgfile ]]; then - die "Package file $pkgfile not found" + if [[ ! -f "${FTP_BASE}/${repo}/os/${arch}/${pkgfile##*/}" ]]; then + die "Package file ${pkgfile##*/} not found in ${FTP_BASE}/${repo}/os/${arch}/" else msg "Adding $pkgfile to [$repo]..." fi |