Ver código fonte

Merge last changes from apt--main--0.
Merge last changes from apt--main--0.

Patches applied:

* apt@packages.debian.org/apt--main--0--patch-79
Merge michael.vogt@ubuntu.com--2005/apt--mvo--0

* michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-20
* supress output when /var/cache/apt/archives is empty; break when min-age is reached

* michael.vogt@ubuntu.com--2005/apt--mvo--0--patch-21
* changed distro to "experimental", changed version number to 0.6.36

Otavio Salvador 21 anos atrás
pai
commit
8bd0670fc9
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      debian/apt.cron.daily
  2. 1 1
      debian/changelog

+ 2 - 2
debian/apt.cron.daily

@@ -110,7 +110,7 @@ check_size_constraints()
 	MinAge=$(($MinAge*24*60*60))
 
 	# reverse-sort by mtime
-	for file in $(ls -rt $Cache/*.deb); do 
+	for file in $(ls -rt $Cache/*.deb 2>/dev/null); do 
 	    du=$(du -s $Cache)
 	    size=${du%%/*}
 	    # check if the cache is small enough
@@ -125,7 +125,7 @@ check_size_constraints()
 		#echo "$file ($delta), $MinAge"
 		if [ $delta -le $MinAge ]; then
 		    #echo "Skiping $file (delta=$delta)"
-		    continue
+		    break
 		fi
 	    fi
 

+ 1 - 1
debian/changelog

@@ -6,7 +6,7 @@ apt (0.6.36os1) unstable; urgency=low
 
  -- Otavio Salvador <otavio@debian.org>  Thu,  7 Apr 2005 21:16:46 -0300
 
-apt (0.6.36) unstable; urgency=low
+apt (0.6.36) experimental; urgency=low
 
   * Merge apt--mvo--0:
     - apt-pkg/acquire-item.cc: