Skip to content

Commit

Permalink
added test and touch for installs (arch/debian/ubuntu)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesshane committed Jun 25, 2018
1 parent e47b112 commit b37cb0b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions install_arch.sh
Expand Up @@ -56,6 +56,15 @@ else
touch $HOME/.config/polybar/config
fi

#file didn't excist for me, so test and touch
if [ -e $HOME/.config/i3/config ]
then
echo "... i3/config found."
else
mkdir $HOME/.config/i3
touch $HOME/.config/i3/config
fi

#rework of user in config.yaml
cd src
rm -f config.yaml
Expand Down
9 changes: 9 additions & 0 deletions install_debian.sh
Expand Up @@ -110,6 +110,15 @@ else
touch $HOME/.config/polybar/config
fi

#file didn't excist for me, so test and touch
if [ -e $HOME/.config/i3/config ]
then
echo "... i3/config found."
else
mkdir $HOME/.config/i3
touch $HOME/.config/i3/config
fi

#rework of user in config.yaml
cd src
rm -f config.yaml
Expand Down
9 changes: 9 additions & 0 deletions install_ubuntu.sh
Expand Up @@ -105,6 +105,15 @@ else
touch $HOME/.config/polybar/config
fi

#file didn't excist for me, so test and touch
if [ -e $HOME/.config/i3/config ]
then
echo "... i3/config found."
else
mkdir $HOME/.config/i3
touch $HOME/.config/i3/config
fi

#rework of user in config.yaml
cd src
rm -f config.yaml
Expand Down

0 comments on commit b37cb0b

Please sign in to comment.