slitaz-tools rev 563
Fixed tazdrop to make DOWNLOADS folder if it doesn't exist.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 19 19:19:34 2011 +0000 (2011-04-19) |
parents | 1b852318ef51 |
children | 2b8a6ff728b5 |
files | tazdrop/tazdrop |
line diff
1.1 --- a/tazdrop/tazdrop Tue Apr 19 13:34:35 2011 +0200 1.2 +++ b/tazdrop/tazdrop Tue Apr 19 19:19:34 2011 +0000 1.3 @@ -15,6 +15,8 @@ 1.4 [ ! -f "$CONFIG" ] && cp /etc/slitaz/tazdrop.conf $CONFIG 1.5 . $CONFIG 1.6 1.7 +[ -d $DOWNLOADS ] || mkdir -p $DOWNLOADS 1.8 + 1.9 # Internationalization 1.10 . /usr/bin/gettext.sh 1.11 TEXTDOMAIN='tazdrop'