Make sure we have git-crypt setup before installing private_dotfiles.

This commit is contained in:
David Tomaschik
2016-02-07 22:57:42 -08:00
parent aa41a0e1ee
commit 4615724282

View File

@@ -274,6 +274,7 @@ ARCH=`uname -m`
(( $INSTALL_PKGS )) && is_deb_system && install_apt_pkgs (( $INSTALL_PKGS )) && is_deb_system && install_apt_pkgs
install_dotfile_dir "${BASEDIR}/dotfiles" install_dotfile_dir "${BASEDIR}/dotfiles"
test -d "${BASEDIR}/private_dotfiles" && \ test -d "${BASEDIR}/private_dotfiles" && \
test -d "${BASEDIR}/.git/git-crypt" && \
install_dotfile_dir "${BASEDIR}/private_dotfiles" install_dotfile_dir "${BASEDIR}/private_dotfiles"
install_basic_dir "${BASEDIR}/bin" "${HOME}/bin" install_basic_dir "${BASEDIR}/bin" "${HOME}/bin"
(( $MINIMAL )) || postinstall (( $MINIMAL )) || postinstall