index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-archlinux32-package | 10 |
diff --git a/update-archlinux32-package b/update-archlinux32-package index f2bb6fe..b2b0523 100755 --- a/update-archlinux32-package +++ b/update-archlinux32-package @@ -346,7 +346,11 @@ case ${update_path} in update_checksum case "${pkgname}" in - 'linux-pae') + 'linux-olpc-xo1'|'linux-pae') + config_name=$( + ls "${git_repo_path}/${repo}/${pkgname}" \ + | grep '^config' + ) scp "${git_repo_path}/${repo}/${pkgname}/PKGBUILD" 'arch32-test:'"${pkgname}/" ssh arch32-test ' cd '"${pkgname}"' @@ -358,8 +362,8 @@ case ${update_path} in cp src/linux-'"${new_pkgver}"'/.config config ' update_checksum - scp 'arch32-test:'"${pkgname}"'/config' "${git_repo_path}/${repo}/${pkgname}/" - git -C "${git_repo_path}/${repo}/${pkgname}" add 'PKGBUILD' 'config' + scp 'arch32-test:'"${pkgname}"'/config' "${git_repo_path}/${repo}/${pkgname}/${config_name}" + git -C "${git_repo_path}/${repo}/${pkgname}" add 'PKGBUILD' "${config_name}" ;; *) >&2 printf 'Whoops, I thought %s should be updated as %s, but I don'"'"'t know the details.\n' \ |