updatebase.GRMLBASE: no longer install aptitude
authorMichael Prokop <mika@grml.org>
Fri, 27 Apr 2018 09:28:24 +0000 (11:28 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 27 Apr 2018 09:31:06 +0000 (11:31 +0200)
We sitched from aptitude to apt-get as package manager in FAI's
package list back in commit 121b3484e, so we shouldn't strictly
need aptitude any longer. The ongoing ncurses transition is
failing our builds currently, so that's a good chance to make
this change.

etc/grml/fai/config/hooks/updatebase.GRMLBASE

index c50877f..6588126 100755 (executable)
@@ -80,11 +80,5 @@ if [ -n "${WAYBACK_DATE:-}" ] ; then
     "${target}/etc/apt/sources.list.d/debian.list"
 fi
 
-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
-
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2