[Pkg-owncloud-commits] [owncloud-client] 322/332: NSIS: Script to download the VS runtimes
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 80f9ed70d3b95a610a6f2dab339101e7aaa7a7cf
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Thu Aug 7 16:24:09 2014 +0200
NSIS: Script to download the VS runtimes
---
admin/win/download_runtimes.sh | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/admin/win/download_runtimes.sh b/admin/win/download_runtimes.sh
new file mode 100755
index 0000000..eddd29a
--- /dev/null
+++ b/admin/win/download_runtimes.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -x
+
+#VS2013
+base_url=http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3
+tmp_path=/tmp/.vcredist
+
+mkdir -p $tmp_path
+
+copy_cached_file() {
+ file=$1
+ if [ ! -e $tmp_path/$file ]; then
+ wget -O $tmp_path/$file $base_url/$file
+ fi
+ cp -a $tmp_path/$file $PWD
+}
+
+copy_cached_file "vcredist_x64.exe"
+copy_cached_file "vcredist_x86.exe"
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list