From e77fd9a5e3aa1d1133b904ce86f84a8e97a711d2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 5 Apr 2016 08:53:49 +0200 Subject: symlink zuerst löschen, wenn er schon existiert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archPackagesUpdate | 1 + 1 file changed, 1 insertion(+) 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 \ ' -- cgit v1.2.3-70-g09d2