packer redundancy added

This commit is contained in:
Luke Smith 2018-03-10 19:00:47 -07:00
parent 4d591414df
commit 838fef31aa

View File

@ -39,7 +39,7 @@ dialog --infobox "Now compiling polybar. This is the last program, but may take
wifi=$(ls /sys/class/net | grep wl) wifi=$(ls /sys/class/net | grep wl)
eth=$(ls /sys/class/net | grep eth) eth=$(ls /sys/class/net | grep eth)
sed -e "s/wlp3s0/$wifi/g; s/enp0s25/$eth/g" /home/$(whoami)/.config/polybar/config /home/$(whoami)/.bashrc sed -e "s/wlp3s0/$wifi/g; s/enp0s25/$eth/g" /home/$(whoami)/.config/polybar/config /home/$(whoami)/.bashrc
packer --noconfig -S polybar-git packer --noconfirm -S polybar || packer --noconfirm -S polybar-git
echo Downloading email setup... echo Downloading email setup...
git clone https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null git clone https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null