[debian-edu-commits] r81138 - branches/wheezy/debian-edu-config/sbin

pere at alioth.debian.org pere at alioth.debian.org
Mon Jun 24 11:24:08 UTC 2013


Author: pere
Date: 2013-06-24 11:24:08 +0000 (Mon, 24 Jun 2013)
New Revision: 81138

Modified:
   branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
Log:
Typo.

Modified: branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup
===================================================================
--- branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-24 11:20:57 UTC (rev 81137)
+++ branches/wheezy/debian-edu-config/sbin/debian-edu-hwsetup	2013-06-24 11:24:08 UTC (rev 81138)
@@ -31,7 +31,7 @@
     pkg="$1"
     codename=$(lsb_release -sc)
     info "Installing non-free package $pkg from $codename."
-    if apt-cache show $pkg > /dev/null 2>&1 ; then
+    if ! apt-cache show $pkg > /dev/null 2>&1 ; then
 	echo deb http://http.debian.net/debian $codename non-free \
 	    > /etc/apt/sources.list.d/$pkg.list
 	apt-get -qq update




More information about the debian-edu-commits mailing list