From f2cd158a80117f7c500384858f5cdac7a4833749 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 12 Sep 2010 21:55:04 +0100 Subject: Preserve the SDK images between upgrades The `android` tool downloads the SDK images into its prefix. Which means you have to move them manually to the new android-sdk keg when you upgrade. Which sucks. So we'll store them in the var/lib/android-sdk directory because that makes the most sense based on my interpretation of the POSIX filesystem hierarchy documentation. We still have to symlink the var directories back into the keg, because the SDK is stupid. For discussion: whether we should use var in this manner more. --- Library/Formula/android-sdk.rb | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'Library') diff --git a/Library/Formula/android-sdk.rb b/Library/Formula/android-sdk.rb index 8ccb7ac1e..0210ac789 100644 --- a/Library/Formula/android-sdk.rb +++ b/Library/Formula/android-sdk.rb @@ -6,31 +6,35 @@ class AndroidSdk