config: remove git projects
This commit is contained in:
parent
6ffad17c49
commit
3b6c652038
|
@ -256,7 +256,6 @@ actions:
|
|||
install_meta: install_meta
|
||||
install_mpv: _mpv_install
|
||||
filter_backgrounds: _backgrouds_filter
|
||||
git_projects: _git_projects
|
||||
|
||||
###############################################################
|
||||
dotfiles: # Just a bunch of paths and action mappings
|
||||
|
@ -289,8 +288,6 @@ dotfiles: # Just a bunch of paths and action mappings
|
|||
git:
|
||||
src: git
|
||||
dst: ~/.config/git
|
||||
actions:
|
||||
- git_projects
|
||||
|
||||
mako:
|
||||
src: mako.conf
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
projdir="${HOME}/Projects"
|
||||
|
||||
user="{{@@ mail.personal.user @@}}"
|
||||
host="git.{{@@ mail.personal.mail @@}}"
|
||||
|
||||
#{%@@ if False @@%}#
|
||||
user="$USER"
|
||||
host="github.com"
|
||||
#{%@@ endif @@%}#
|
||||
git -C "$projdir" rev-parse >/dev/null &&
|
||||
exit 0
|
||||
|
||||
git clone "ssh://git@${host}:${user}/projects" "$projdir"
|
||||
|
||||
cd "$projdir"
|
||||
|
||||
git submodule update --init --recursive
|
Reference in New Issue