projects
/
carnet-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bcc7e7
)
Automatski prelazak sa exim na postfix.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 31 Oct 2013 07:25:20 +0000
(08:25 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 31 Oct 2013 07:25:20 +0000
(08:25 +0100)
install-carnet-debian
patch
|
blob
|
history
diff --git
a/install-carnet-debian
b/install-carnet-debian
index
ff46a2e
..
68b4799
100644
(file)
--- a/
install-carnet-debian
+++ b/
install-carnet-debian
@@
-7,5
+7,12
@@
packages="`debconf-show carnet-debian | awk -F: /packages/'{print $2}' | tr -d '
if [ -z "$packages" ]; then
echo "CN: No packages for install."
else
- apt-get --no-install-recommends install $packages
+ # Need to be explicit about exim -> postfix transition
+ if [ "${packages%postfix-cn*}" != "$packages" ] -o
+ [ "${packages%amavisd-cn*}" != "$packages" ]
+ then
+ packages="$packages postfix"
+ fi
+
+ apt-get --yes --no-install-recommends install $packages
fi