diff options
| author | Craig Jennings <c@cjennings.net> | 2024-11-11 08:35:57 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-11-11 08:36:11 -0600 |
| commit | 6d3e5b049560cb1b9c1118a335b22b5aacdc5a6c (patch) | |
| tree | 2363f2ed032b13c861d1abd9fcf6438f9b91e326 /scripts/post-install.sh | |
| parent | ba912e8163bacd27ed85b993bee1084c71cd2cdf (diff) | |
moving things around
Diffstat (limited to 'scripts/post-install.sh')
| -rwxr-xr-x | scripts/post-install.sh | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/scripts/post-install.sh b/scripts/post-install.sh new file mode 100755 index 0000000..57825a5 --- /dev/null +++ b/scripts/post-install.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +logfile="$HOME/post-install.log" +touch $logfile + +echo "fixing perms on gpg directory" +{ + chown -R $(whoami) ~/.gnupg/ + find ~/.gnupg -type f -exec chmod 600 {} \; + find ~/.gnupg -type d -exec chmod 700 {} \; +} >> $logfile 2>&1 + +echo "fixing remote repositories" +{ + cd ~/.dotfiles && \ + git remote remove origin && \ + git remote add origin git@cjennings.net:dotfiles.git + + cd ~/.emacs.d && \ + git remote remove origin && \ + git remote add origin git@cjennings.net:dotemacs.git +} + +echo "cloning git repos" +{ + git clone cjennings@cjennings.net:git/org.git ~/sync/org + git clone --depth 1 cjennings@cjennings.net:git/wallpaper.git ~/pictures/wallpaper + git clone cjennings@cjennings.net:git/documents.git ~/projects/documents + git clone cjennings@cjennings.net:git/kit.git ~/projects/kit + git clone cjennings@cjennings.net:git/clipper.git ~/projects/clipper + git clone cjennings@cjennings.net:git/finances.git ~/projects/finances + + git clone git@cjennings.net:dwm.git ~/code/dwm + git clone git@cjennings.net:dmenu.git ~/code/dmenu + git clone git@cjennings.net:st.git ~/code/st + git clone cjennings@cjennings.net:git/slock.git ~/code/slock + git clone git@cjennings.net:pinentry-dmenu.git ~/code/pinentry-dmenu + + git clone cjennings@cjennings.net:git/bsdsetup.git ~/code/bsdsetup + git clone git@cjennings.net:archsetup.git ~/code/archsetup + + git clone cjennings@cjennings.net:git/exercism.git ~/code/exercism + git clone cjennings@cjennings.net:git/elisp.git ~/code/elisp + git clone cjennings@cjennings.net:git/clisp.git ~/code/clisp + git clone cjennings@cjennings.net:git/100dayspython.git ~/code/100dayspython + + git clone cjennings@cjennings.net:git/nasbuild.git ~/projects/nasbuild + git clone cjennings@cjennings.net:git/nextjob.git ~/projects/nextjob + git clone cjennings@cjennings.net:git/elibrary.git ~/projects/elibrary +} >> $logfile 2>&1 + +printf "\n\nDone.\n\n" |
