From fb259a2e84dfa4716326b40e1a55e80b10253d71 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 30 Aug 2016 15:03:10 +0200 Subject: [PATCH] Added installation of .config files during the install process --- build-release.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-release.sh b/build-release.sh index 466c84cd0..a9086f53c 100644 --- a/build-release.sh +++ b/build-release.sh @@ -128,6 +128,10 @@ for FN in "Duplicati/Library/Snapshots/bin/Release/SnapshotQuery.exe" "Duplicati cp "${FN}" "${UPDATE_SOURCE}/alphavss/" done +# Install the assembly redirects for all Duplicati .exe files +find "${UPDATE_SOURCE}" -type f -name Duplicati.*.exe -maxdepth 1 -exec cp Installer/AssemblyRedirects.xml {}.config \; + +# Clean some unwanted build files if [ -e "${UPDATE_SOURCE}/control_dir" ]; then rm -rf "${UPDATE_SOURCE}/control_dir"; fi if [ -e "${UPDATE_SOURCE}/Duplicati-server.sqlite" ]; then rm "${UPDATE_SOURCE}/Duplicati-server.sqlite"; fi if [ -e "${UPDATE_SOURCE}/Duplicati.debug.log" ]; then rm "${UPDATE_SOURCE}/Duplicati.debug.log"; fi