diff options
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 8 |
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 ;; |