summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-05 08:53:49 +0200
committerErich Eckner <git@eckner.net>2016-04-05 09:00:36 +0200
commite77fd9a5e3aa1d1133b904ce86f84a8e97a711d2 (patch)
tree1ecb7ab53336e73f25fe8987651cb77ac8b42c08
parent4b8dc6811c63ef30e9ab2c274fa4d72284d1a1d6 (diff)
downloadarchlinuxewe-e77fd9a5e3aa1d1133b904ce86f84a8e97a711d2.tar.xz
symlink zuerst löschen, wenn er schon existiert
-rwxr-xr-xarchPackagesUpdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 1a8edbf59..161e9e1d2 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -136,6 +136,7 @@ then
do
[ "${dir}" == "any" ] && continue
[ ! -d "${dir}" ] && continue
+ [ -e "'"${pkgDir}"'/${dir}/'"${paket}-${vers}-${arch}.pkg.tar.xz"'" ] && rm "'"${pkgDir}"'/${dir}/'"${paket}-${vers}-${arch}.pkg.tar.xz"'"
ln -s "'"${pkgDir}/${arch}/${paket}-${vers}-${arch}.pkg.tar.xz"'" "'"${pkgDir}"'/${dir}/"
done \
'