summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:53 +0000
commitfc9d4b7b18e1c3c9fbcdf6766d21180c0db88b24 (patch)
treed040fd8d586da16f8992786a21e7be946085eb16
parenta66a514f8302f88d08e292f1c7a94689d45cb801 (diff)
Offline users guide
Author: jgg Date: 1999-02-15 08:23:10 GMT Offline users guide
-rw-r--r--cmdline/apt-get.cc12
-rw-r--r--debian/dhelp13
-rwxr-xr-xdebian/rules9
3 files changed, 26 insertions, 8 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 0c466a6f9..451519c7c 100644
--- a/cmdline/apt-get.cc
+++ b/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;
diff --git a/debian/dhelp b/debian/dhelp
index 6f9ea4654..05c208f03 100644
--- a/debian/dhelp
+++ b/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>
diff --git a/debian/rules b/debian/rules
index 62c365318..31f2089fb 100755
--- a/debian/rules
+++ b/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