Remove auto-install of dependencies
This commit is contained in:
parent
ca3d62952d
commit
351b67de1e
12
install.sh
12
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
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user