Remove unnecessary run options, keep it simple
This commit is contained in:
16
box_setup.sh
16
box_setup.sh
@@ -13,18 +13,6 @@
|
||||
exit 0
|
||||
}
|
||||
|
||||
|
||||
# TODO: test this git stuff, see if it works
|
||||
temp_placement_git_dir="no"
|
||||
[[ ! -d ".git" && "$(basename $(pwd))" != "box-setup" ]] && {
|
||||
temp_placement_git_dir="yes"
|
||||
git clone "https://git.drinkingtea.net/david/box-setup.git" || {
|
||||
echo "failed to clone box-setup git repo"
|
||||
exit 1
|
||||
}
|
||||
pushd box-setup > /dev/null
|
||||
}
|
||||
|
||||
# set env vars for installs
|
||||
install_cmd=''
|
||||
update_pkg_manager_and_defs_cmd=''
|
||||
@@ -61,7 +49,3 @@ source $ZDOTDIR/.zshenv
|
||||
source $ZDOTDIR/.zshrc
|
||||
./install_programs.sh $2
|
||||
|
||||
[[ $temp_placement_git_dir == "yes" ]] && {
|
||||
popd > /dev/null
|
||||
mv "box-setup" "$DIR_GIT_PROJECTS/me/"
|
||||
}
|
||||
|
Reference in New Issue
Block a user