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

Be quiet in apt.post{inst,rm}.
Author: doogie
Date: 2003-04-27 01:43:29 GMT
Be quiet in apt.post{inst,rm}.

Arch Librarian лет назад: 22
Родитель
Сommit
fe8f82e514
3 измененных файлов с 1 добавлено и 9 удалено
  1. 1 0
      debian/changelog
  2. 0 5
      debian/postinst
  3. 0 4
      debian/postrm

+ 1 - 0
debian/changelog

@@ -110,6 +110,7 @@ apt (0.5.4.9) unstable; urgency=low
   * Add a vcg command to apt-cache, similiar to dotty.  Closes: #150512.
   * Add option to apt-get to show versions of packages being
     upgraded/installed.
+  * Be quiet in apt.post{inst,rm}.  Closes: #70685.
 
  -- Adam Heath <doogie@debian.org>  Sun, 02 Feb 2003 02:54:45 -0600
 

+ 0 - 5
debian/postinst

@@ -12,8 +12,6 @@ set -e
 
 create_apt_conf ()
 {
- echo "/etc/apt/sources.list does not exist; creating a default setup."
-
  cp /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list
 }
  
@@ -33,9 +31,6 @@ case "$1" in
 	       #
 	       if [ ! -f /etc/apt/sources.list ]; then
 	         create_apt_conf
-		 echo
-		 echo "If you wish to change the default sites from which APT fetches Debian"
-		 echo "packages, please edit the file /etc/apt/sources.list."
 	       else
 	         check_apt_conf
 	       fi

+ 0 - 4
debian/postrm

@@ -15,11 +15,7 @@ case "$1" in
 		ldconfig
 		;;
        purge)
-		echo -n "Removing APT cache and state files... "
-		echo -n "/var/cache/apt"
 		rm -rf /var/cache/apt
-		echo -n ", /var/lib/apt"
 		rm -rf /var/lib/apt
-		echo ". Done."
 esac