X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=install-carnet-debian;h=ff46a2ead3a8f5eb88148e5b2ad9a9c4188ae807;hb=5dd6880b8dc853af207e2dcf1f08793d69330d28;hp=459ae5f7cab01517472ef1b66d20968866d754b3;hpb=5f036916301c4945f0fec64ea7722cd096abadac;p=carnet-debian.git diff --git a/install-carnet-debian b/install-carnet-debian index 459ae5f..ff46a2e 100644 --- a/install-carnet-debian +++ b/install-carnet-debian @@ -2,9 +2,10 @@ set -e -. /usr/share/debconf/confmodule +packages="`debconf-show carnet-debian | awk -F: /packages/'{print $2}' | tr -d ','`" -db_get carnet-packages/packages || true -packages="$RET" - -apt-get install $packages +if [ -z "$packages" ]; then + echo "CN: No packages for install." +else + apt-get --no-install-recommends install $packages +fi