From: Ivan Rako Date: Fri, 29 May 2009 16:29:32 +0000 (+0200) Subject: izmjene u debian/postinst X-Git-Tag: debian/6.0.0~15 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=e21e7d65aca21e73ac4c47879244edd16833c503;p=carnet-debian.git izmjene u debian/postinst --- 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