diff options
-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' \ |