This commit is contained in:
David Tomaschik
2018-02-18 12:54:10 -08:00
2 changed files with 11 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
user = matir user = matir
# Site specific config # Site specific config
[url "https://www.github.com/"] [url "https://github.com./"]
insteadOf = "github:" insteadOf = "github:"
insteadOf = "github://" insteadOf = "github://"

View File

@@ -320,15 +320,19 @@ verbose() {
# Operations # Operations
install_main() { install_dotfiles() {
test $MINIMAL = 1 || prerequisites
test $INSTALL_PKGS = 1 && 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" && \ test -d "${BASEDIR}/.git/git-crypt" && \
install_dotfile_dir "${BASEDIR}/private_dotfiles" install_dotfile_dir "${BASEDIR}/private_dotfiles"
test -d "${BASEDIR}/local_dotfiles" && \ test -d "${BASEDIR}/local_dotfiles" && \
install_dotfile_dir "${BASEDIR}/local_dotfiles" install_dotfile_dir "${BASEDIR}/local_dotfiles"
}
install_main() {
test $MINIMAL = 1 || prerequisites
test $INSTALL_PKGS = 1 && is_deb_system && install_apt_pkgs
install_dotfiles
install_basic_dir "${BASEDIR}/bin" "${HOME}/bin" install_basic_dir "${BASEDIR}/bin" "${HOME}/bin"
test $MINIMAL = 1 || postinstall test $MINIMAL = 1 || postinstall
test $INSTALL_KEYS = 1 && install_keys test $INSTALL_KEYS = 1 && install_keys
@@ -372,6 +376,9 @@ case $OPERATION in
install) install)
install_main install_main
;; ;;
dotfiles)
install_dotfiles
;;
package*) package*)
if [ ${2:-default} != default ] ; then if [ ${2:-default} != default ] ; then
install_pkg_set packages.${2} install_pkg_set packages.${2}