From e21e7d65aca21e73ac4c47879244edd16833c503 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Fri, 29 May 2009 18:29:32 +0200 Subject: [PATCH] izmjene u debian/postinst --- debian/config | 11 ----------- debian/postinst | 16 ++++++++++++++-- debian/templates | 7 +++++++ 3 files changed, 21 insertions(+), 13 deletions(-) delete mode 100755 debian/config diff --git a/debian/config b/debian/config deleted file mode 100755 index e5e9855..0000000 --- a/debian/config +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -# Load debconf -. /usr/share/debconf/confmodule - -db_input critical carnet-debian/packages || true - -db_go || true -db_stop || true diff --git a/debian/postinst b/debian/postinst index c842623..386c10c 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,5 +4,17 @@ set -e [ "$1" = "configure" ] || exit 0 -echo "CN: You can run for install CARNet Debian packages:" -echo "CN: # install-carnet-debian" +# Load debconf +. /usr/share/debconf/confmodule +db_version 2.0 + +db_fset carnet-debian/packages seen false +db_go || true +db_input critical carnet-debian/packages || true + +db_fset carnet-debian/note seen false +db_go || true +db_input critical carnet-debian/note || true + +db_go || true +db_stop || true diff --git a/debian/templates b/debian/templates index b651958..6ff63bc 100644 --- a/debian/templates +++ b/debian/templates @@ -4,3 +4,10 @@ Choices: amavisd-cn, amavis-stats-cn, apache2-cn, apt-cn, bind9-cn, carnet-tools Description: Koje pakete zelite? CARNet Debian donosi pakete za laksu konfiguraciju servisa na CARNetovom cvornom racunalu. + +Template: carnet-debian/note +Type: note +Description: Instalacija CARNetovih paketa + CARNetove pakete za Debian mozete instalirati slijedecom naredbom: + . + # install-carnet-debian -- 1.7.10.4