From 561c1d26789a9e1dc49b1a27766900c8ddeb9b56 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Wed, 31 Oct 2007 09:15:58 +0000 Subject: [PATCH] r14: --- debian/control | 2 +- debian/install | 1 + install-carnet-debian | 7 +------ 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/debian/control b/debian/control index 1286508..05c24cb 100644 --- a/debian/control +++ b/debian/control @@ -8,5 +8,5 @@ Standards-Version: 3.6.1 Package: carnet-debian Provides: carnet-debian-cn Architecture: all -Depends: debconf, apt-cn, carnet-tools-cn (>= 2.8) +Depends: debconf, apt-cn Description: Installer for CARNet Debian packages diff --git a/debian/install b/debian/install index 512664e..f157875 100644 --- a/debian/install +++ b/debian/install @@ -1 +1,2 @@ install-carnet-debian usr/sbin +carnet-debconf-get usr/sbin diff --git a/install-carnet-debian b/install-carnet-debian index cbf57df..be124a9 100644 --- a/install-carnet-debian +++ b/install-carnet-debian @@ -2,12 +2,7 @@ set -e -. /usr/share/debconf/confmodule -. /usr/share/carnet-tools/functions.sh - -cp_db_get carnet-debian/packages - -packages="`echo $RET | tr -d ','`" +packages="`debconf-show carnet-debian | awk -F: /packages/'{print $2}' | tr -d ','`" if [ -z "$packages" ]; then echo "CN: No packages for install." -- 1.7.10.4