index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-12-27 20:38:19 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-27 20:38:19 +0100 |
commit | db5bea75329559e61c40ddb1c90a1dcf7e22fb31 (patch) | |
tree | 2bfaef083aec01cd6c919528d6469cafa1712a92 /update-archlinux32-package | |
parent | f50b0e9f0f074024ef1e6cafbc749061379b0a05 (diff) |
-rwxr-xr-x | update-archlinux32-package | 5 |
diff --git a/update-archlinux32-package b/update-archlinux32-package index e45b892..92afa57 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -101,7 +101,7 @@ case "${pkgname}" in # an upstream package which is updated by solely updating its checksum update_path='checksum' ;; - 'python-pip-bootstrap') + 'python-pip-bootstrap'|'python-setuptools-bootstrap') # a package without upstream which is updated by updating its # version (according to watch-versions) and checksum update_path='version and checksum without upstream' @@ -278,7 +278,8 @@ case ${update_path} in exit fi sed -i ' - s/^pkgver=.*$/pkgver='"'${newver}'"'/ + s/^epoch=.*$/epoch='"'${newver%:*}'"'/ + s/^pkgver=.*$/pkgver='"'${newver#*:}'"'/ s/^pkgrel=.*$/pkgrel='"'1'"'/ ' "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" git -C "${git_repo_path}/${repo}/${pkgname}" diff HEAD -- PKGBUILD |