diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-24 18:10:12 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-24 18:10:12 +0000 |
commit | fc0c40fdf7b93940b12d9d6087cde57d9d15cd84 (patch) | |
tree | 6b6bf5cb64c063254e799e43a9a8194d8048529c | |
parent | ae0f73c28758c50fc5f485f6780a88f2423a7da3 (diff) | |
download | dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar.gz dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar.bz2 dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar.lz dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar.xz dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.tar.zst dotfiles-fc0c40fdf7b93940b12d9d6087cde57d9d15cd84.zip |
Remove installation of dependencies from bootstrap.sh
-rwxr-xr-x | bootstrap.sh | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index c6fb031..516c407 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,33 +1,9 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh SYMLINKDIR=$(readlink -f "$0") BASEDIR=$(dirname "$SYMLINKDIR") cd $BASEDIR -if [ -f /etc/os-release ]; then - . /etc/os-release - OS=$NAME -fi - -read -p "Install dependencies? (y/n) " -n 1; -echo ""; -if [[ $REPLY =~ ^[Yy]$ ]]; then - case $OS in - arch) - sudo pacman -S picom xorg-setxkbmap feh xorg-xinput dash imlib2 xorg-xsetroot alacritty flameshot rofi xorg-xbacklight pamixer playerctl xsecurelock git base rsync sway waybar - ;; - void) - sudo xbps-install -S picom setxkbmap feh xinput dash imlib2 xsetroot alacritty flameshot rofi xbacklight pamixer playerctl git rsync - ;; - *) - echo "You'll have to install the dependencies yourself" - ;; - esac - -fi; - -git pull; - function doIt() { git submodule update --init --recursive rsync --exclude ".git/" \ @@ -36,6 +12,9 @@ function doIt() { --exclude "bootstrap.sh" \ --exclude "README.md" \ --exclude "LICENSE.md" \ + --exclude ".gitconfig" \ + --exclude ".gitignore" \ + --exclude ".gitmodules" \ --exclude "dwm" \ -avh --no-perms ./ ~/ } @@ -49,4 +28,6 @@ else doIt; fi; fi; + unset doIt; + |