fix setup-solus.sh to not reextract dotfiles when rerun

This commit is contained in:
zotan 2018-02-01 20:15:36 +01:00
parent 53bd32cb1d
commit 2ca973862f

View file

@ -5,9 +5,9 @@ sudo eopkg up -y
sudo snap install spotify
sudo eopkg it -c system.devel -y
sudo eopkg it xrdb zsh git git-lfs telegram htop etcher golang zip unzip cava neofetch aria2 acpi ncmpcpp rxvt-unicode vim epson-inkjet-printer-escpr flatpak texlive-all solbuild pip -y
sudo eopkg it xrdb zsh git git-lfs telegram htop etcher golang zip unzip cava neofetch aria2 acpi ncmpcpp rxvt-unicode vim epson-inkjet-printer-escpr flatpak texlive-all solbuild pip discord -y
sudo ln -s /usr/bin/telegram /usr/bin/telegram-desktop &> /dev/null
git lfs install
eopkg lr | grep solbuilds -q
if [[ $? -ne 1 ]]; then
@ -28,9 +28,11 @@ sudo pip install mopidy mopidy-spotify mopidy-spotify-web mopidy-iris
flatpak install --user --from https://download.mono-project.com/repo/monodevelop.flatpakref -y
wget https://solus.sh/dotfiles.zip -O /tmp/dotfiles.zip
unzip -o /tmp/dotfiles.zip -d .
xrdb -load .Xresources
if [[ ! -f ~/".dotfiles_installed" ]]; then
wget https://solus.sh/dotfiles.zip -O /tmp/dotfiles.zip
unzip -o /tmp/dotfiles.zip -d .
touch ~/".dotfiles_installed"
fi
bash -c "$(curl -fsSL solus.sh/solus-ohmyz.sh)"