From a5fd8a53cb1df233abc4d3544980d964e53068d5 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 27 Sep 2022 05:17:41 +0000 Subject: [PATCH] Update dotfiles/.local/bin/install-dotfiles --- dotfiles/.local/bin/install-dotfiles | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/.local/bin/install-dotfiles b/dotfiles/.local/bin/install-dotfiles index c987f068..a0491929 100644 --- a/dotfiles/.local/bin/install-dotfiles +++ b/dotfiles/.local/bin/install-dotfiles @@ -3,12 +3,12 @@ if [ -f '/etc/qubes-release' ]; then # Qubes dom0 qvm-create --label red --template debian-11 provision &> /dev/null || EXIT_CODE=$? - qvm-run --pass-io provision 'curl -sSL https://gitlab.com/megabyte-labs/dotfiles/-/archive/master/dotfiles-master.tar.gz > dotfiles.tar.gz' - qvm-run --pass-io provision "cat dotfiles.tar.gz" > "$HOME/dotfiles.tar.gz" + qvm-run --pass-io provision 'curl -sSL https://gitlab.com/megabyte-labs/dotfiles/-/archive/master/dotfiles-master.tar.gz > ~/Downloads/dotfiles.tar.gz' + qvm-run --pass-io provision "cat ~/Downloads/dotfiles.tar.gz" > "$HOME/dotfiles.tar.gz" tar -xzf "$HOME/dotfiles.tar.gz" -C "$HOME" rm -f "$HOME/dotfiles.tar.gz" sudo rm -rf /usr/src/professor-dotfiles - sudo cp -rf "$HOME/dotfiles-master" /usr/src/professor-dotfiles + sudo mv "$HOME/dotfiles-master" /usr/src/professor-dotfiles else if [ -d /usr/src/professor-dotfiles/.git ]; then cd /usr/src/professor-dotfiles