Update dotfiles/.local/bin/install-dotfiles

This commit is contained in:
Brian Zalewski 2022-11-01 08:26:41 +00:00
parent 3d5591a549
commit 6731c53cea

View file

@ -24,6 +24,11 @@ else
${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
if [ -n "$CREATE_PACKAGE"" ]; then
cd /usr/local/src
${SUDO_PREFIX} tar -zcvf /tmp/professor-dotfiles.tar.gz professor-dotfiles
cd ~/
fi
fi
# Copy dotfile folders