From 1c946b5766c8f23e20d0032fcd9a01e2f891fbf9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 23 Aug 2013 09:15:00 +0200 Subject: ftparchive/override.cc: fix "skip empty lines" code, the pointer needs to get de-referenced first --- ftparchive/override.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftparchive/override.cc b/ftparchive/override.cc index 760c20120..1288ff133 100644 --- a/ftparchive/override.cc +++ b/ftparchive/override.cc @@ -49,7 +49,7 @@ bool Override::ReadOverride(string const &File,bool const &Source) // Strip space leading up to the package name, skip blank lines char *Pkg = Line; for (; isspace(*Pkg) && *Pkg != 0;Pkg++); - if (Pkg == 0) + if (*Pkg == 0) continue; // Find the package and zero.. -- cgit v1.2.3 From 17e4360804ffd2b5530b8ceb0e42834eb99e526e Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 23 Aug 2013 13:44:21 +0200 Subject: dselect/update: remove "-f" option as its not being used in the context of apt-get update --- dselect/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dselect/update b/dselect/update index 411033ca9..487fbf226 100755 --- a/dselect/update +++ b/dselect/update @@ -6,7 +6,7 @@ TEXTDOMAIN="apt" # Get the configuration from /etc/apt/apt.conf CLEAN="prompt" -OPTS="-f" +OPTS="" APTGET="/usr/bin/apt-get" APTCACHE="/usr/bin/apt-cache" DPKG="/usr/bin/dpkg" -- cgit v1.2.3