summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package10
1 files changed, 7 insertions, 3 deletions
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' \