From d7c814c7eb86a132a5bf41f221029952049ccf5f Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 25 Dec 2006 22:32:08 +0000 Subject: [PATCH] 2006-12-25 22:32:04 by steve apt-cache -> /usr/bin/apt-cache --- hooks/dapper/80-install-modules | 2 +- hooks/debian/80-install-modules | 2 +- hooks/edgy/80-install-modules | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hooks/dapper/80-install-modules b/hooks/dapper/80-install-modules index 76380fe..0e058a9 100755 --- a/hooks/dapper/80-install-modules +++ b/hooks/dapper/80-install-modules @@ -41,7 +41,7 @@ linux_modules_package="linux-modules-$(uname -r)" # Attempt to install that package. This will either work on an Etch # system, or fail on a Sarge/custom kernel. # -if chroot ${prefix} apt-cache policy ${linux_modules_package} 2>/dev/null; then +if chroot ${prefix} /usr/bin/apt-cache policy ${linux_modules_package} 2>/dev/null; then # # If it worked then we can install the package. diff --git a/hooks/debian/80-install-modules b/hooks/debian/80-install-modules index 71e8ce1..c8e9083 100755 --- a/hooks/debian/80-install-modules +++ b/hooks/debian/80-install-modules @@ -41,7 +41,7 @@ linux_modules_package="linux-modules-$(uname -r)" # Attempt to install that package. This will either work on an Etch # system, or fail on a Sarge/custom kernel. # -if chroot ${prefix} apt-cache policy ${linux_modules_package} 2>/dev/null; then +if chroot ${prefix} /usr/bin/apt-cache policy ${linux_modules_package} 2>/dev/null; then # # If it worked then we can install the package. diff --git a/hooks/edgy/80-install-modules b/hooks/edgy/80-install-modules index 76380fe..0e058a9 100755 --- a/hooks/edgy/80-install-modules +++ b/hooks/edgy/80-install-modules @@ -41,7 +41,7 @@ linux_modules_package="linux-modules-$(uname -r)" # Attempt to install that package. This will either work on an Etch # system, or fail on a Sarge/custom kernel. # -if chroot ${prefix} apt-cache policy ${linux_modules_package} 2>/dev/null; then +if chroot ${prefix} /usr/bin/apt-cache policy ${linux_modules_package} 2>/dev/null; then # # If it worked then we can install the package.