# This is a one-time HACK for the removal of the _minimal archspecs, # which have been merged into the main ones with 0.7.0 . # We set the config to the corresponding normal archspec. # This is NO sorcery API. A spell is not allowed to ever do this. # And here it comes, on 2007-01-23, to be removed after some decent # transition period: message "current arch: $ARCHITECTURE" && # only act if we are going to modify the host system's archspecs if echo "$INSTALL_ROOT" | grep -q '^/*$'; then message "checking if your architecture setting needs fixing..." && if echo "$ARCHITECTURE" | grep -q '_minimal$'; then new_arch=`echo "$ARCHITECTURE" | sed 's/_minimal$//'` && message "going to fix your architecture setting to $new_arch" && modify_local_config "ARCHITECTURE" "$new_arch" fi fi