summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <marco.biasco@gmail.com>2009-04-25 21:46:51 +0200
committeromega <marco.biasco@gmail.com>2009-04-25 21:46:51 +0200
commit4f676be8c9509b296ba09181b6daf3aea4ed8f39 (patch)
tree12a81241e30d77df101c526fd71d55370b5382ba
parentc2edda629c1d0650815cfde200f95280d230f274 (diff)
downloadscripts-4f676be8c9509b296ba09181b6daf3aea4ed8f39.tar.gz
scripts-4f676be8c9509b296ba09181b6daf3aea4ed8f39.tar.bz2
Applied wget_write_to_and_throw.patch
-rwxr-xr-xgit-compiz6
-rw-r--r--git-compiz.def5
2 files changed, 8 insertions, 3 deletions
diff --git a/git-compiz b/git-compiz
index 41f581a..34d32dd 100755
--- a/git-compiz
+++ b/git-compiz
@@ -430,7 +430,11 @@ else
# download via wget
printinfo info "${INFO_DOWNLOAD//%s/$b}";
logcmd echo
- wget -nv $1
+ if (echo $1 | grep -q '%writeto%'); then
+ wget -O `echo $1 | sed 's|.*%writeto%||'` -nv `echo $1 | sed 's|%writeto%.*||'`
+ else
+ wget -nv $1
+ fi
# extract
printinfo info "${INFO_EXTRACT//%s/$b}";
logcmd echo
diff --git a/git-compiz.def b/git-compiz.def
index b78c10a..f574864 100644
--- a/git-compiz.def
+++ b/git-compiz.def
@@ -113,8 +113,9 @@ users/smspillaz/peek
users/smspillaz/simple-animations
users/warlock/freewins
users/xytovl/newton
-http://somelinuxguy94.googlepages.com/wizard.tar.gz
-http://somelinuxguy94.googlepages.com/localviewport.tar.gz
+http://sites.google.com/site/gitcompiz08/Home/localviewport.tar.gz?attredirects=0%writeto%localviewport.tar.gz
+http://sites.google.com/site/gitcompiz08/Home/wizard.tar.gz?attredirects=0%writeto%wizard.tar.gz
+http://sites.google.com/site/gitcompiz08/Home/throw.tar.gz?attredirects=0%writeto%throw.tar.gz
"
## Repository