From 61272c69ca6f0c3beaa4d5554db5017fea3b888f Mon Sep 17 00:00:00 2001 From: TuDatTr Date: Sun, 24 May 2020 06:52:29 +0200 Subject: [PATCH] Fixed python3-pip since that package doesn't exist, removed powerlevel9k since I don't use it anymore and fixed stow commands --- root/march-reboot.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/root/march-reboot.sh b/root/march-reboot.sh index 8924a03..d658eb1 100644 --- a/root/march-reboot.sh +++ b/root/march-reboot.sh @@ -70,15 +70,18 @@ cp $CWD/etc/iptables/iptables.rules /etc/iptables/iptables.rules # From this on we need need to be $username su $username sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" & -cp -r /usr/share/zsh-theme-powerlevel9k $HOME/.oh-my-zsh/themes/powerlevel9k +rm /home/$username/.zshrc su $username sh -c "git clone https://github.com/powerline/fonts.git --depth=1 /home/$username/fonts" su $username sh -c "chmod +x /home/$username/fonts/install.sh" su $username sh -c "/home/$username/fonts/install.sh" su $username sh -c "rm -rf /home/$username/fonts/" -su $username sh -c "git clone git@gitlab.com:TuDatTr/dotfiles.git /home/$username/.dotfiles" +su $username sh -c "git clone https://gitlab.com/tudattr/dotfiles ./home/$username/.dotfiles" +su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username vim" +su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username zsh" +su $username sh -c "stow -d /home/$username/.dotfiles -t /home/$username config" systemctl disable march -wall "March done." +shutdown -r now