projects
/
grml-live-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
32096a7
)
Use -y for upgrade in instsoft.GRMLBASE
author
Michael Prokop
<mika@grml.org>
Mon, 5 Nov 2007 09:32:39 +0000
(10:32 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 5 Nov 2007 09:32:39 +0000
(10:32 +0100)
etc/grml/fai/config/hooks/instsoft.GRMLBASE
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/hooks/instsoft.GRMLBASE
b/etc/grml/fai/config/hooks/instsoft.GRMLBASE
index
1e5ce06
..
2a00b39
100755
(executable)
--- a/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
+++ b/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
@@
-44,12
+44,12
@@
if [ "$FAI_ACTION" = "softupdate" ] ; then
$ROOTCMD apt-get update
if [ -x $target/usr/bin/aptitude ] ; then
if strings $target/usr/bin/aptitude | grep safe-upgrade 1>/dev/null ; then
- $ROOTCMD aptitude safe-upgrade
+ $ROOTCMD aptitude
-y
safe-upgrade
else
- $ROOTCMD aptitude upgrade
+ $ROOTCMD aptitude
-y
upgrade
fi
else
- $ROOTCMD apt-get upgrade
+ $ROOTCMD apt-get
-y
upgrade
fi
else # no softupdate but fresh installation