Просмотр исходного кода

Offline users guide
Author: jgg
Date: 1999-02-15 08:23:10 GMT
Offline users guide

Arch Librarian лет назад: 22
Родитель
Сommit
fc9d4b7b18
3 измененных файлов с 26 добавлено и 8 удалено
  1. 6 6
      cmdline/apt-get.cc
  2. 12 1
      debian/dhelp
  3. 8 1
      debian/rules

+ 6 - 6
cmdline/apt-get.cc

@@ -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;

+ 12 - 1
debian/dhelp

@@ -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>

+ 8 - 1
debian/rules

@@ -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