projects
/
carnet-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmijenjen config
[carnet-debian.git]
/
install-carnet-debian
diff --git
a/install-carnet-debian
b/install-carnet-debian
index
b2e7561
..
449dfe2
100644
(file)
--- a/
install-carnet-debian
+++ b/
install-carnet-debian
@@
-2,9
+2,10
@@
set -e
set -e
-. /usr/share/debconf/confmodule
+packages="`debconf-show carnet-debian | awk -F: /packages/'{print $2}' | tr -d ','`"
-db_get carnet-debian/packages || true
-packages="`echo $RET | tr -d ','`"
-
-apt-get install $packages
+if [ -z "$packages" ]; then
+ echo "CN: No packages for install."
+else
+ aptitude -R install $packages
+fi