projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8d314
)
Fix postupgrade reconfiguration bug.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 23 Apr 2009 12:17:00 +0000
(14:17 +0200)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 23 Apr 2009 12:17:00 +0000
(14:17 +0200)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
8e09d21
..
6d192dd
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-763,7
+763,7
@@
restore_config () {
# force reconfiguration at the end if package is not upgraded automatically
if [ "$config_changed" -a "$cn_package" ]; then
cn_version=$( dpkg -s "$cn_package" | awk '/^Version:/ {print $2}' )
- post_upgrade "pkg $cn_package eq $cn_version && dpkg-reconfigure $cn_package"
+ post_upgrade "pkg $cn_package gt $cn_version || dpkg-reconfigure $cn_package"
fi
}