flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1433799 - /flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh
Date Wed, 16 Jan 2013 02:20:29 GMT
Author: jmclean
Date: Wed Jan 16 02:20:28 2013
New Revision: 1433799

URL: http://svn.apache.org/viewvc?rev=1433799&view=rev
Log:
added license display and check

Modified:
    flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh

Modified: flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh?rev=1433799&r1=1433798&r2=1433799&view=diff
==============================================================================
--- flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh (original)
+++ flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh Wed Jan 16 02:20:28 2013
@@ -44,6 +44,33 @@ then
     exit 1;
 fi
 
+agreeLicense()
+{
+	echo
+	echo The playerglobal.swc is part of the Adobe Flex SDK and covered by it's license.
+	echo
+	echo All files contained in the Adobe Flex SDK are subject to and governed by the
+	echo Adobe Flex SDK License Agreement specified here:
+	echo http://www.adobe.com/products/eulas/pdfs/adobe_flex_software_development_kit-combined-20110916_0930.pdf
+	echo By downloading, modifying, distributing, using and/or accessing any files in this Adobe
Flex SDK,
+	echo you agree to the terms and conditions of the applicable end user license agreement.
+	echo In addition to the Adobe license terms, you also agree to be bound by the third-party
terms specified here:
+	echo http://www.adobe.com/products/eula/third_party/
+	echo Adobe recommends that you review these third-party terms.
+	echo
+	echo "Please type Y to agree to terms of the license >"
+	
+	read -n 1 accept
+	echo
+		
+	if [[ "${accept}" = "Y" || "${accept}" = "y" ]]
+	then
+	   echo License accepted
+	else
+		exit
+	fi
+}
+
 downloadPlayerGlobal()
 {
 	version=$1
@@ -72,6 +99,8 @@ downloadPlayerGlobal()
 	
 }
 
+agreeLicense
+
 downloadPlayerGlobal 10.2 aa7d785dd5715626201f5e30fc1deb51 http://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc
 downloadPlayerGlobal 10.3 6092b3d4e2784212d174ca10904412bd http://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc
 downloadPlayerGlobal 11.0 5f5a291f02105cd83fb582b76646e603 http://fpdownload.macromedia.com/get/flashplayer/updaters/11/playerglobal11_0.swc



Mime
View raw message