]> git.saurik.com Git - apt.git/commitdiff
Offline users guide
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:53 +0000 (16:52 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:52:53 +0000 (16:52 +0000)
Author: jgg
Date: 1999-02-15 08:23:10 GMT
Offline users guide

cmdline/apt-get.cc
debian/dhelp
debian/rules

index 0c466a6f90be18d77723033a3535bb6bb115b83c..451519c7c1fea39d5183a6f46c5340bc5f554455 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-get.cc,v 1.41 1999/02/15 05:24:35 jgg Exp $
+// $Id: apt-get.cc,v 1.42 1999/02/15 08:23:10 jgg Exp $
 /* ######################################################################
    
    apt-get - Cover for dpkg
@@ -536,19 +536,19 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true)
    }
       
    // Number of bytes
-   c2out << "Need to get ";
+   c1out << "Need to get ";
    if (DebBytes != FetchBytes)
-      c2out << SizeToStr(FetchBytes) << "b/" << SizeToStr(DebBytes) << 'b';
+      c1out << SizeToStr(FetchBytes) << "b/" << SizeToStr(DebBytes) << 'b';
    else
-      c2out << SizeToStr(DebBytes) << 'b';
+      c1out << SizeToStr(DebBytes) << 'b';
       
    c1out << " of archives. After unpacking ";
    
    // Size delta
    if (Cache->UsrSize() >= 0)
-      c2out << SizeToStr(Cache->UsrSize()) << "b will be used." << endl;
+      c1out << SizeToStr(Cache->UsrSize()) << "b will be used." << endl;
    else
-      c2out << SizeToStr(-1*Cache->UsrSize()) << "b will be freed." << endl;
+      c1out << SizeToStr(-1*Cache->UsrSize()) << "b will be freed." << endl;
 
    if (_error->PendingError() == true)
       return false;
index 6f9ea465487da52704f44e5762aa12e491fcf4b5..05c208f03fa742b4b98f9712ef1ce453ead2fda6 100644 (file)
@@ -1,5 +1,5 @@
 <item>
-<directory>Debian
+<directory>debian
 <dirtitle>Debian Utilities
 <linkname>APT User's Guide
 <filename>users-guide.html/index.html
@@ -8,3 +8,14 @@ The APT User's Guide provides an overview of how to use the the APT package
 manager, and provides a detailed look at the apt-get tool.
 </descrip>
 </item>
+
+<item>
+<directory>debian
+<dirtitle>Debian Utilities
+<linkname>APT Offline Usage Guide
+<filename>offline.html/index.html
+<descrip>
+The APT Offline Usage Guide provides detailed instructions and examples
+of how to use APT on an unconnected computer.
+</descrip>
+</item>
index 62c36531855dc4f49343629f423200b91bd2c403..31f2089fb57832a9be2526e013d5aec2cf33c496 100755 (executable)
@@ -2,7 +2,7 @@
 # Made with the aid of dh_make, by Craig Small
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
 # Some lines taken from debmake, by Christoph Lameter.
-# $Id: rules,v 1.5 1999/02/03 21:05:48 jgg Exp $
+# $Id: rules,v 1.6 1999/02/15 08:23:10 jgg Exp $
 
 
 # Uncomment this to turn on verbose mode.
@@ -58,9 +58,16 @@ apt: build
        cp build/scripts/dselect/* debian/tmp/usr/lib/dpkg/methods/apt/
 #      cp debian/sources.list debian/tmp/etc/apt/
 
+       # Copy the users guide  
        cp build/docs/guide.text debian/tmp/usr/doc/apt/users-guide.txt
        mkdir debian/tmp/usr/doc/apt/users-guide.html/
        cp -a build/docs/guide.html/* debian/tmp/usr/doc/apt/users-guide.html/
+       
+       # Copy the offline guide        
+       cp build/docs/offline.text debian/tmp/usr/doc/apt/offline.txt
+       mkdir debian/tmp/usr/doc/apt/offline.html/
+       cp -a build/docs/offline.html/* debian/tmp/usr/doc/apt/offline.html/
+       
        cp -a debian/dhelp debian/tmp/usr/doc/apt/.dhelp
        
 #      head -n 500 ChangeLog > debian/ChangeLog