Enhance installation script by adding autoconf to the list of required packages and updating installation checks accordingly.
This commit is contained in:
@@ -129,7 +129,7 @@ install_zoxide_fallback() {
|
||||
# Core: install required packages via the preferred package manager, then fall back where needed
|
||||
install_packages() {
|
||||
local os=$(detect_os)
|
||||
local base_packages="zsh git wget fontconfig zoxide"
|
||||
local base_packages="zsh git wget fontconfig zoxide autoconf"
|
||||
|
||||
case $os in
|
||||
macos)
|
||||
@@ -163,12 +163,12 @@ install_packages() {
|
||||
}
|
||||
|
||||
# Check if required packages are installed, if not, install them
|
||||
if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null && command -v fc-cache &> /dev/null && command -v eza &> /dev/null && command -v zoxide &> /dev/null; then
|
||||
echo -e "ZSH, Git, wget, fontconfig, eza, and zoxide are already installed\n"
|
||||
if command -v zsh &> /dev/null && command -v git &> /dev/null && command -v wget &> /dev/null && command -v fc-cache &> /dev/null && command -v eza &> /dev/null && command -v zoxide &> /dev/null && command -v autoconf &> /dev/null; then
|
||||
echo -e "ZSH, Git, wget, fontconfig, eza, zoxide, and autoconf are already installed\n"
|
||||
else
|
||||
echo "Installing required packages..."
|
||||
install_packages
|
||||
echo -e "zsh, wget, git, fontconfig, eza, and zoxide Installed\n"
|
||||
echo -e "zsh, wget, git, fontconfig, eza, zoxide, and autoconf Installed\n"
|
||||
fi
|
||||
|
||||
if [ -f ~/.gitconfig.backup ]; then
|
||||
|
||||
Reference in New Issue
Block a user