Fix bug 586419 – Install aborts unpacking SVN .exe package

wget_unpacked doesn't handle .exe files.

Patch by Gary Bartlett


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18142 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-06-21 00:12:29 +00:00
parent 0e57f5d7c9
commit 42ae03a262

View File

@ -390,10 +390,8 @@ function inst_svn() {
then
echo "subversion already installed. skipping."
else
wget_unpacked $SVN_URL $DOWNLOAD_DIR $TMP_DIR
assert_one_dir $TMP_UDIR/svn-win32-*
mkdir -p $_SVN_UDIR
mv $TMP_UDIR/svn-win32-*/* $_SVN_UDIR
smart_wget $SVN_URL $DOWNLOAD_DIR
$LAST_FILE //SP- //SILENT //DIR="$SVN_DIR"
quiet svn --version || die "svn not installed correctly"
fi
}