From: Michael Prokop Date: Fri, 27 Apr 2018 09:28:24 +0000 (+0200) Subject: updatebase.GRMLBASE: no longer install aptitude X-Git-Tag: v0.31.2~1 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=56d4377f80b8509f5cd25af4f76958e1b5e721d5;hp=1a823a1c53bdc752825296024fcabe2988b40fc1 updatebase.GRMLBASE: no longer install aptitude 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. --- diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index c50877f..6588126 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -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