Package: synaptic
Version: 0.60
Severity: normal
Tags: patch
The menu item "File->Generate package download script" genrates lines like this
wget
-chttp://ftp.de.debian.org/debian/pool/main/e/emacs21/emacs21-common_21.4a+1-5_all.deb
with no space between the -c option and the url.
Attached patch fixes this.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages synaptic depends on:
ii apt [libapt-pkg-libc6.5 0.7.3 Advanced front-end for dpkg
ii apt-utils [libapt-inst- 0.7.3 APT utility programs
ii libatk1.0-0 1.18.0-2 The ATK accessibility toolkit
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libcairo2 1.4.10-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libgcc1 1:4.2-20070712-1 GCC support library
ii libglade2-0 1:2.6.1-1 library to load .glade files at ru
ii libglib2.0-0 2.12.13-1 The GLib library of C routines
ii libgtk2.0-0 2.10.13-1 The GTK+ graphical user interface
ii libpango1.0-0 1.16.4-1 Layout and rendering of internatio
ii libstdc++6 4.2-20070712-1 The GNU Standard C++ Library v3
ii libvte9 1:0.16.6-1 Terminal emulator widget for GTK+
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1:1.1.8-2 X cursor management library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxi6 2:1.1.1-1 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxml2 2.6.29.dfsg-1 GNOME XML library
ii libxrandr2 2:1.2.1-1 X11 RandR extension library
ii libxrender1 1:0.9.2-1 X Rendering Extension client libra
ii scrollkeeper 0.3.14-13 A free electronic cataloging syste
Versions of packages synaptic recommends:
ii deborphan 1.7.23 Find orphaned libraries
ii gksu 2.0.0-4 graphical frontend to su
ii libgnome2-perl 1.040-1 Perl interface to the GNOME librar
-- no debconf information
--- synaptic-0.60/gtk/rgmainwindow.cc 2007-06-10 23:25:47.000000000 +0300
+++ synaptic-0.60-fix/gtk/rgmainwindow.cc 2007-08-02 12:30:49.000000000
+0300
@@ -3352,7 +3352,7 @@
ofstream out(file);
out << "#!/bin/sh" << endl;
for(int i=0;i<uris.size();i++) {
- out << "wget -c" << uris[i] << endl;
+ out << "wget -c " << uris[i] << endl;
}
chmod(file, 0755);
}