From 4e5b0a5b91f8712056da211e4f3e16f39a4bb5e9 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 31 Oct 2022 02:37:31 +0000 Subject: [PATCH] Update dotfiles/.local/bin/install-dotfiles --- dotfiles/.local/bin/install-dotfiles | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dotfiles/.local/bin/install-dotfiles b/dotfiles/.local/bin/install-dotfiles index 1d137957..142b90f4 100644 --- a/dotfiles/.local/bin/install-dotfiles +++ b/dotfiles/.local/bin/install-dotfiles @@ -15,14 +15,14 @@ else fi if [ -d /usr/local/src/professor-dotfiles/.git ]; then cd /usr/local/src/professor-dotfiles - "${SUDO_PREFIX}" git config pull.rebase false - "${SUDO_PREFIX}" git pull origin master - "${SUDO_PREFIX}" chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles + ${SUDO_PREFIX} git config pull.rebase false + ${SUDO_PREFIX} git pull origin master + ${SUDO_PREFIX} chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles cd ~/ else - "${SUDO_PREFIX}" rm -rf /usr/local/src/professor-dotfiles - "${SUDO_PREFIX}" git clone https://gitlab.com/megabyte-labs/dotfiles.git /usr/local/src/professor-dotfiles - "${SUDO_PREFIX}" chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles + ${SUDO_PREFIX} rm -rf /usr/local/src/professor-dotfiles + ${SUDO_PREFIX} git clone https://gitlab.com/megabyte-labs/dotfiles.git /usr/local/src/professor-dotfiles + ${SUDO_PREFIX} chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles fi fi