rpms/apt/devel apt.cron,1.1,1.2 apt.spec,1.38,1.39

Axel Thimm (athimm) fedora-extras-commits at redhat.com
Sun Jun 3 09:23:58 UTC 2007


Author: athimm

Update of /cvs/extras/rpms/apt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2724/devel

Modified Files:
	apt.cron apt.spec 
Log Message:
Make autoupdates a bit more quiet.


Index: apt.cron
===================================================================
RCS file: /cvs/extras/rpms/apt/devel/apt.cron,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apt.cron	17 Jan 2005 22:01:26 -0000	1.1
+++ apt.cron	3 Jun 2007 09:23:23 -0000	1.2
@@ -8,4 +8,9 @@
 [ $PRESERVE_CONFIG == "yes" ] && OPTS="$OPTS -o rpm::preserve-config=true"
 OPTS="$OPTS $EXTRA_OPTIONS"
 
-/usr/bin/apt-get -q update && /usr/bin/apt-get -q -y $OPTS dist-upgrade
+if /usr/bin/apt-get -qq update; then
+    /usr/bin/apt-get dist-upgrade -qq --check-only
+    if [ $? -eq 100 ]; then
+        /usr/bin/apt-get -q -y $OPTS dist-upgrade
+    fi
+fi


Index: apt.spec
===================================================================
RCS file: /cvs/extras/rpms/apt/devel/apt.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- apt.spec	23 Dec 2006 12:56:51 -0000	1.38
+++ apt.spec	3 Jun 2007 09:23:23 -0000	1.39
@@ -6,7 +6,7 @@
 Summary: Debian's Advanced Packaging Tool with RPM support
 Name: apt
 Version: 0.5.15lorg3.2
-Release: 9%{?dist}
+Release: 10%{?dist}
 Group: System Environment/Base
 URL: http://apt-rpm.org/
 License: GPL
@@ -290,6 +290,10 @@
 
 
 %changelog
+* Sun Jun  3 2007 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.5.15lorg3.2-10
+- Make autoupdates a bit more quiet (Pierre Ossman
+  <drzeus-bugzilla at drzeus.cx>).
+
 * Sat Dec 23 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.5.15lorg3.2-9
 - Add a patch to notify user and rebuild the cache on cache
   corruption.




More information about the fedora-extras-commits mailing list