Template: carnet-debian/packages
Type: multiselect
-Choices: amavisd-cn, amavis-stats-cn, apache2-cn, apt-cn, bind9-cn, carnet-tools-cn, clamav-cn, dovecot-cn, jre-cn, mailman-cn, monit-cn, munin-cn, mysql-cn, ntp-cn, openssh-cn, phpbb2-cn, pine-cn, postfix-cn, samba-cn, vsftpd-cn
+Choices: amavisd-cn, amavis-stats-cn, apt-cn, bind9-cn, carnet-tools-cn, clamav-cn, dovecot-cn, iptables-cn, jre-cn, kernel-2.6-cn, kernel-2.6-zaptel-cn, mailman-cn, monit-cn, munin-cn, mysql-cn, ntp-cn, openssh-cn, ossec-hids-cn, php5-cn, php5-eaccelerator-cn, phpbb2-cn, php-suhosin-cn, pine-cn, postfix-cn, proftpd-cn, samba-cn, spamassassin-cn, squirrelmail-change-pass-cn, squirrelmail-cn, vsftpd-cn, webalizer-cn, xinetd-cn
Description: Koje pakete zelite?
CARNet Debian donosi pakete za laksu konfiguraciju servisa na CARNetovom
cvornom racunalu.
+
db_get carnet-debian/packages || true
packages="`echo $RET | tr -d ','`"
+db_stop || true
-db_go
-db_stop
-
-apt-get install $packages
+if [ -z "$packages" ]; then
+ echo "CN: No packages for install."
+else
+ apt-get install $packages
+fi