diff options
-rwxr-xr-x | update-archlinux32-package | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package index 906fcdf..4ce46d4 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -407,6 +407,14 @@ case ${update_path} in ' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" { git -C "${upstream_git_path}/${pkgname}/repos/${repo}-x86_64" archive HEAD -- + git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD -- . \ + | tar -tf - \ + | grep -vxF "$( + printf '%s\n' \ + 'PKGBUILD' + ${config_names} + )" \ + | xargs -r git -C "${git_repo_path}/${repo}/${pkgname}" archive HEAD -- for config_name in ${config_names}; do tar -c -C "${git_repo_path}/${repo}/${pkgname}" "${config_name}" done |