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 ./.zshrc ~
cp ./.profile ~ cp ./.profile ~
cp ./.xprofile ~ cp ./.xsession ~
cp ./.ideavimrc ~ cp ./.ideavimrc ~
cp ./.vimrc ~ cp ./.vimrc ~
cp ./.gitconfig ~ cp ./.gitconfig ~

View file

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