Subversion Repositories yt_downloader

Rev

Rev 2 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 3
Line 9... Line 9...
9
 
9
 
10
FILENAME="stable.tar.gz"
10
FILENAME="stable.tar.gz"
11
 
11
 
12
cd ..
12
cd ..
13
rm "$dirname"/"$FILENAME"
13
rm "$dirname"/"$FILENAME"
14
tar cvfz "$tmpfile" --exclude "yt_downloader2/ffmpeg" --exclude "yt_downloader2/libav" --exclude "yt_downloader2/marschall" --exclude "yt_downloader2/youtube-dl" --exclude "yt_downloader2/upload_to_vts" -- "$dirname"
14
tar cvfz "$tmpfile" --exclude "yt_downloader2/ffmpeg" --exclude "yt_downloader2/.svn" --exclude "yt_downloader2/libav" --exclude "yt_downloader2/marschall" --exclude "yt_downloader2/youtube-dl" --exclude "yt_downloader2/upload_to_vts" -- "$dirname"
15
 
15
 
16
# otherwise: "the file has changed while reading"
16
# otherwise: "the file has changed while reading"
17
mv "$tmpfile" "$dirname"/"$FILENAME"
17
mv "$tmpfile" "$dirname"/"$FILENAME"
18
 
18
 
19
chmod 644 "$dirname"/"$FILENAME"
19
chmod 644 "$dirname"/"$FILENAME"