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:
f32f9a1
)
Upgrade grub-pc with kernel-cn.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Tue, 29 Oct 2013 13:07:14 +0000
(14:07 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Tue, 29 Oct 2013 13:07:14 +0000
(14:07 +0100)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
d9c9734
..
1d94faa
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-985,7
+985,12
@@
upgrade_mailman() {
upgrade_kernel() {
if pkg kernel-2.6-cn; then
pkgrm kernel-2.6-cn
- pkgadd kernel-cn
+
+ if pkg grub-pc; then
+ pkgadd kernel-cn grub-pc
+ else
+ pkgadd kernel-cn
+ fi
fi
}