From 351b67de1e708221b2066e76a586a173ab39e336 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 11 Jan 2021 21:37:24 -0600 Subject: [PATCH] Remove auto-install of dependencies --- install.sh | 12 ------------ internal_bin/install.arch | 16 ---------------- internal_bin/install.deb | 14 -------------- 3 files changed, 42 deletions(-) delete mode 100755 internal_bin/install.arch delete mode 100755 internal_bin/install.deb diff --git a/install.sh b/install.sh index 45a3d9c..fd1526e 100755 --- a/install.sh +++ b/install.sh @@ -39,18 +39,6 @@ function symlink() { read -p "Press enter to install my dotfiles " WAIT_FOR_INPUT -read -p "[Dotfiles] Would you like to detect distro and auto-install dependencies? [Y/n]: " line -if [[ "$line" == Y* ]] || [[ "$line" == y* ]] || [ -z "$line" ]; then - distrourl="https://raw.githubusercontent.com/alopexc0de/dotfiles/master/internal_bin" - if [ -f /etc/arch-release ]; then - bash <(curl -sL $distrourl/install.arch) - elif [ -f /etc/debian_version ]; then - bash <(curl -sL $distrourl/install.deb) - else - echo "This system does not have an auto-install file. Please install the dependencies manually" - fi -fi - if ! which git >>/dev/null ; then echo "Error: git is not installed" exit 1 diff --git a/internal_bin/install.arch b/internal_bin/install.arch deleted file mode 100755 index 9139cbb..0000000 --- a/internal_bin/install.arch +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -# This ensures that the entire script is downloaded before execution -{ - -sudo pacman -Syu -sudo pacman -S yay - -yay -Syu - -yay -S tmux zsh vim git \ - terminator rofi feh xcompmgr \ - i3lock-fancy i3blocks ffcast - -sudo pip install ntfy -} diff --git a/internal_bin/install.deb b/internal_bin/install.deb deleted file mode 100755 index b9dfa03..0000000 --- a/internal_bin/install.deb +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -# This ensures that the entire script is downloaded before execution -{ - -sudo apt update -sudo apt upgrade - -sudo apt install tmux zsh vim git\ - terminator rofi feh xcompmgr\ - i3lock-fancy i3blocks - -sudo pip install ntfy -}