[Lunar-commits] <lunar> download-generic.plugin: wget has flipped ftp passive/active option
Stefan Wold
ratler at lunar-linux.org
Sat Jul 28 11:02:21 CEST 2012
commit 0d2e797ff791c62c5d872210df8725eb3a3ed7bf
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 28 Jul 2012 02:02:21 -0700
URL: https://github.com/lunar-linux/lunar/commit/0d2e797ff791c62c5d872210df8725eb3a3ed7bf
download-generic.plugin: wget has flipped ftp passive/active option
---
plugins/download-generic.plugin +2/-2
1 files changed, 2 insertions (+), 2 deletions (-)
--- a/plugins/download-generic.plugin
+++ b/plugins/download-generic.plugin
@@ -26,8 +26,8 @@ plugin_source_download_generic() {
# this is what the download will be stored as initially:
TMP_FILE=$TMPDIR/$2
- if [ "$FTP_ACTIVE" == "off" -o "$FTP_PASSIVE" == "on" ] ; then
- WGET_OPTS+=" --passive-ftp"
+ if [ "$FTP_ACTIVE" == "on" -o "$FTP_PASSIVE" == "off" ] ; then
+ WGET_OPTS+=" --no-passive-ftp"
fi
if [ "$CONTINUE" == "off" ] ; then
More information about the Lunar-commits
mailing list