Update dotfiles/.local/bin/install-dotfiles

This commit is contained in:
Brian Zalewski 2022-11-01 09:32:27 +00:00
parent a86e955c0f
commit 25d2674962

View file

@ -27,7 +27,7 @@ else
${SUDO_PREFIX} git clone https://github.com/asdf-vm/asdf.git /usr/local/src/professor-dotfiles/dotfiles/.local/asdf --branch v0.10.2 ${SUDO_PREFIX} git clone https://github.com/asdf-vm/asdf.git /usr/local/src/professor-dotfiles/dotfiles/.local/asdf --branch v0.10.2
${SUDO_PREFIX} chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles ${SUDO_PREFIX} chown -Rf "$USER":"$(id -g -n)" /usr/local/src/professor-dotfiles
fi fi
if [ -n "$CREATE_PACKAGE"" ]; then if [ -n "$CREATE_PACKAGE" ]; then
cd /usr/local/src cd /usr/local/src
${SUDO_PREFIX} tar -zcvf /tmp/professor-dotfiles.tar.gz professor-dotfiles ${SUDO_PREFIX} tar -zcvf /tmp/professor-dotfiles.tar.gz professor-dotfiles
cd ~/ cd ~/