diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-03 17:06:08 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-03 17:06:08 +0100 |
commit | 2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5 (patch) | |
tree | 89c97002bf4ed8c3f4f3b9d15d1d88c4eddb3b84 | |
parent | b75326edbdd0ae11f4e10aedb2f64ce536b67479 (diff) | |
download | repo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.gz repo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.xz |
include lib32
-rwxr-xr-x | createlinks | 2 | ||||
-rwxr-xr-x | syncrepo | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/createlinks b/createlinks index 7c975b7..341442f 100755 --- a/createlinks +++ b/createlinks @@ -45,7 +45,7 @@ for repo in ${repos[@]}; do else echo "$repo/$arch: $pkgname" mkdir -p ${tmppkgdir}/pkg - bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib,{s,}bin}}'/*' 2>/dev/null + bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib{,32},{s,}bin}}'/*' 2>/dev/null for f in $(find ${tmppkgdir}/pkg -type f); do readelf -d "$f" 2> /dev/null | sed -nr 's/.*Shared library: \[(.*)\].*/\1/p' done | sort -u > ${tmppkgdir}/links @@ -15,7 +15,8 @@ trap "rm -f '${lock}'" EXIT INT TERM rsync -rtlvH --safe-links --delete-after --progress -h \ --delay-updates --no-motd --bwlimit=1000 \ --temp-dir="${tmp}" \ - --exclude='*.links.tar.gz*' \ + --exclude='*.links.tar.gz' \ + --exclude='*.old' \ --exclude='/other' \ --exclude='/sources' \ --exclude='/iso' \ |