[Lunar-commits] <lunar> Merge pull request #12 from Ratler/passive_ftp

Auke Kok sofar+github at foo-projects.org
Mon Jul 30 06:27:38 CEST 2012


commit 563ccac4004464ae56d631812ec8e47054390a38
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Sun, 29 Jul 2012 21:27:38 -0700
URL: https://github.com/lunar-linux/lunar/commit/563ccac4004464ae56d631812ec8e47054390a38

Merge pull request #12 from Ratler/passive_ftp

download-generic.plugin: wget has flipped ftp passive/active option
---
  plugins/download-generic.plugin                              +2/-2     
  1 files changed, 0 insertions (+), 0 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