diff options
author | 2009-05-04 23:26:08 +0000 | |
---|---|---|
committer | 2009-05-04 23:26:08 +0000 | |
commit | c31ad821c335796c782a997f6684f06df83e269c (patch) | |
tree | 3ecdfa907af0509854af90cbc17a60cc6047b2d1 | |
parent | [gpe-xsession/gpe-dm] Add RDEPEND=x11-apps/xinit. (diff) | |
download | gpe-c31ad821c335796c782a997f6684f06df83e269c.tar.gz gpe-c31ad821c335796c782a997f6684f06df83e269c.tar.bz2 gpe-c31ad821c335796c782a997f6684f06df83e269c.zip |
[gpe-misc/gpe-wallpapers] Use homedir for temp files.
-rwxr-xr-x | gpe-misc/gpe-wallpapers/utils/gpe-wallpapers-fetch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpe-misc/gpe-wallpapers/utils/gpe-wallpapers-fetch b/gpe-misc/gpe-wallpapers/utils/gpe-wallpapers-fetch index d42dfbc..84d024a 100755 --- a/gpe-misc/gpe-wallpapers/utils/gpe-wallpapers-fetch +++ b/gpe-misc/gpe-wallpapers/utils/gpe-wallpapers-fetch @@ -12,8 +12,8 @@ mkdir wallpapers cd wallpapers/ || exit 1 echo "Connecting.." while [[ $PAGE -le $PAGES ]]; do - wget -q "${GALLERY_URI}?set_albumName=$ALBUM&page=$PAGE" -O /tmp/gpe-wallpapers.html - for IMAGE in $(grep -Eo 'src="[^"]+\.thumb\.[^"]+"' /tmp/gpe-wallpapers.html \ + wget -q "${GALLERY_URI}?set_albumName=$ALBUM&page=$PAGE" -O ~/gpe-wallpapers.html + for IMAGE in $(grep -Eo 'src="[^"]+\.thumb\.[^"]+"' ~/gpe-wallpapers.html \ | sed -e 's;.thumb;;' -e 's;";;g' -e 's;src=;;'); do echo "Fetching $IMAGE .." wget -q "$IMAGE" |