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:
0546053
)
Run upgrade before dist-upgrade.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 28 Sep 2011 14:46:28 +0000
(16:46 +0200)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 28 Sep 2011 14:46:28 +0000
(16:46 +0200)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
26d4014
..
28d229a
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-146,6
+146,12
@@
apt_download() {
}
dist_upgrade () {
+ log "Running upgrade ..."
+ apt-get -y$s upgrade || {
+ dpkg --configure -a
+ apt-get -y$s upgrade
+ }
+
log "Running dist-upgrade ..."
apt-get -y$s dist-upgrade || {
dpkg --configure -a