aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-01-23 17:45:47 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-01-23 17:45:47 +0000
commitb8821cb26c5d87386fb052ea279afbe467d232d3 (patch)
tree5b0e772403da7cbe2b0f91485630140636dddcaf /bootstrap.sh
parent92c1d51a5006edaf72b148d7440853e220fcb592 (diff)
downloaddotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.gz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.bz2
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.lz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.xz
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.zst
dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.zip
Small updates
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 34ecc02..b7ce765 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -4,13 +4,15 @@ SYMLINKDIR=$(readlink -f "$0")
BASEDIR=$(dirname "$SYMLINKDIR")
cd $BASEDIR
-source /etc/os-release
+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 $ID in
+ 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
;;