projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure apt caches are up2date before trying to install aptitude
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
hooks
/
updatebase.GRMLBASE
diff --git
a/etc/grml/fai/config/hooks/updatebase.GRMLBASE
b/etc/grml/fai/config/hooks/updatebase.GRMLBASE
index
d19c4e2
..
063cae4
100755
(executable)
--- a/
etc/grml/fai/config/hooks/updatebase.GRMLBASE
+++ b/
etc/grml/fai/config/hooks/updatebase.GRMLBASE
@@
-74,6
+74,7
@@
$ROOTCMD apt-key add /etc/apt/grml.key
if ! $ROOTCMD test -x /usr/bin/aptitude ; then
echo "aptitude binary is not available, installing to make sure further FAI actions continue to work"
+ $ROOTCMD apt-get update
$ROOTCMD apt-get -y install aptitude
fi