From 6731c53ceaf232f94d780d87297589446d0b9a93 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 1 Nov 2022 08:26:41 +0000 Subject: [PATCH] Update dotfiles/.local/bin/install-dotfiles --- dotfiles/.local/bin/install-dotfiles | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/.local/bin/install-dotfiles b/dotfiles/.local/bin/install-dotfiles index 142b90f4..2e073824 100644 --- a/dotfiles/.local/bin/install-dotfiles +++ b/dotfiles/.local/bin/install-dotfiles @@ -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