projects
/
carnet-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r13:
[carnet-debian.git]
/
install-carnet-debian
diff --git
a/install-carnet-debian
b/install-carnet-debian
index
b51ea80
..
cbf57df
100644
(file)
--- a/
install-carnet-debian
+++ b/
install-carnet-debian
@@
-3,11
+3,14
@@
set -e
. /usr/share/debconf/confmodule
set -e
. /usr/share/debconf/confmodule
+. /usr/share/carnet-tools/functions.sh
-db_get carnet-debian/packages || true
-packages="`echo $RET | tr -d ','`"
+cp_db_get carnet-debian/packages
-db_go
-db_stop
+packages="`echo $RET | tr -d ','`"
-apt-get install $packages
+if [ -z "$packages" ]; then
+ echo "CN: No packages for install."
+else
+ apt-get install $packages
+fi