summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rwxr-xr-xassets/post-install.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/assets/post-install.sh b/assets/post-install.sh
new file mode 100755
index 0000000..69f007c
--- /dev/null
+++ b/assets/post-install.sh
@@ -0,0 +1,53 @@
+#!/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 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/zfsarch.git ~/code/zfsarch
+
+ git clone cjennings@cjennings.net:git/exercism.git ~/code/exercism
+ git clone cjennings@cjennings.net:git/lcthw.git ~/code/lcthw
+ git clone cjennings@cjennings.net:git/slock.git ~/code/slock
+ 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
+ git clone cjennings@cjennings.net:git/cesar-laptop.git ~/projects/cesar-laptop
+} >> $logfile 2>&1