From e7dc5fe06a8b710e1bacc67115c26e1ab194d713 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Mon, 8 May 2023 22:21:06 -0700 Subject: [PATCH] fixed apt-get syntax --- install.sh | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/install.sh b/install.sh index c671648..2eb830a 100755 --- a/install.sh +++ b/install.sh @@ -145,24 +145,6 @@ usage(){ "You must run as 'root' for this script to automatically resolve dependencies" } -run(){ - _cmd=$@ - if [[ $dry_run != true ]] ; then - $_cmd - else - boxline "DryRun: $_cmd" - fi -} - -run-and-log(){ - _cmd=$@ - if [[ $dry_run != true ]] ; then - logger $_cmd - else - logger "DryRun: $_cmd" - fi -} - detectvim(){ # If the vim install directory exists, check for and store the highest numerical value version installed if [[ -d /usr/share/vim ]] ; then @@ -195,7 +177,7 @@ check-deps(){ install-deps(){ boxborder "Installing packages $packages" if [[ dry_run == true ]] ; then - boxline "DryRun: spin \"for $_package in $packages ; do sudo apt=get install -y $_package ; done\"" + boxline "DryRun: spin \"for $_package in $packages ; do sudo apt-get install -y $_package ; done\"" else # using a spinner function block to track installation progress spin "for $_package in $packages ; do sudo apt-get install -y $_package ; done"