Fix install script

This commit is contained in:
Leon Grünewald 2021-05-09 19:44:41 +02:00
parent 75dc96747e
commit 80693b9a5c
2 changed files with 5 additions and 7 deletions

View file

@ -10,7 +10,7 @@ cp ./.doom.d ~ -r
cp ./.zshrc ~
cp ./.profile ~
cp ./.xprofile ~
cp ./.xsession ~
cp ./.ideavimrc ~
cp ./.vimrc ~
cp ./.gitconfig ~

View file

@ -36,13 +36,11 @@ git submodule update --init --recusive
cd $HOME/workspace/devconf
./install-light.sh
dialog --checklist "Which parts do you want to install?" 30 30 5 graphical Graphical off
res=$?
clear
if [ $res == *"graphical"* ]; then
./install-graphical.sh
res=$(dialog --stdout --checklist "Which parts do you want to install?" 0 0 0 graphical Graphical off)
if [[ $res == *"graphical"* ]]; then
echo test
./install-graphical.sh
fi
sudo usermod -aG audio,input $(whoami)
#clear
echo 'Installation Done'