summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-28 15:57:15 +0200
committerErich Eckner <git@eckner.net>2017-09-28 15:57:15 +0200
commit225b7baa69d5d4038f4131a7e671290e88dd3060 (patch)
tree38d581842f707ab2a10680c5e1a67fa26cd861f8
parent0d42233b87bdc0d16d24bdc8761db9dbc939242c (diff)
downloadarchlinuxewe-225b7baa69d5d4038f4131a7e671290e88dd3060.tar.xz
archPackagesUpdate: bugfixes regarding split-packages
-rwxr-xr-xarchPackagesUpdate9
1 files changed, 3 insertions, 6 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index b536cae4a..b49fc5cc7 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -558,12 +558,11 @@ then
if [ "'${arch}'" == "any" ]
then
- cd ..
- for lArch in *
+ for lArch in $(ls ..)
do
- [ ! -d "${lArch}" ] && continue
+ [ ! -d "../${lArch}" ] && continue
[ "${lArch}" == "any" ] && continue
- cd "${lArch}"
+ cd "../${lArch}"
entferneAltePakete "${teil}" "'${arch}'"
ln -s "'${pkgDir}'/any/${teil}-'${vers}-${arch}'.pkg.tar.xz" "${teil}-'${vers}-${arch}'.pkg.tar.xz"
@@ -572,8 +571,6 @@ then
ln -s "'${pkgDir}'/any/${teil}-'${vers}-${arch}'.pkg.tar.xz.sig" "${teil}-'${vers}-${arch}'.pkg.tar.xz.sig"
fi
addPaket "${teil}-'${vers}-${arch}'.pkg.tar.xz"
-
- cd ..
done
fi
done