dot

packages and services management
Log | Files | Refs | README

commit 85f95f30ec44d0719329cab7d7a031a8c878228c
parent befcc81e4c72a70fc88fec570d17e8be6edf9d10
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 16 Feb 2018 13:25:22 +0100

flatter structure

Diffstat:
Rdot/emacs.d/init.el -> .emacs | 0
Rdot/mpoprc -> .mpoprc | 0
Rdot/msmtprc -> .msmtprc | 0
Rdot/profile -> .profile | 0
Rdot/ssh/config -> .ssh/config | 0
Rdot/tmux.conf -> .tmux.conf | 0
Rdot/xinitrc -> .xinitrc | 0
Retc/agenda/34c3 -> agenda/34c3 | 0
Retc/agenda/epitech -> agenda/epitech | 0
Retc/agenda/fosdem -> agenda/fosdem | 0
Retc/agenda/main -> agenda/main | 0
Dbin/tpl | 5-----
Retc/collectd.conf -> collectd.conf | 0
Mconfigure | 17++++++++---------
Aenchive/enchive.pub | 2++
Aenchive/enchive.sec | 2++
Detc/enchive/enchive.pub | 2--
Detc/enchive/enchive.sec | 2--
Retc/fortune -> fortune | 0
Retc/git/config -> git/config | 0
Retc/mblaze/filter -> mblaze/filter | 0
Retc/mblaze/profile -> mblaze/profile | 0
Retc/sfeed -> sfeed | 0
Retc/tinc/conf.d/common -> tinc/conf.d/common | 0
Retc/tinc/hosts/nas -> tinc/hosts/nas | 0
Retc/tinc/hosts/rpi -> tinc/hosts/rpi | 0
Retc/tinc/hosts/t470s -> tinc/hosts/t470s | 0
Retc/tinc/tinc-up -> tinc/tinc-up | 0
Dtpl/make-test | 8--------
Retc/twt -> twt | 0
Retc/uri -> uri | 0
31 files changed, 12 insertions(+), 26 deletions(-)

diff --git a/dot/emacs.d/init.el b/.emacs diff --git a/dot/mpoprc b/.mpoprc diff --git a/dot/msmtprc b/.msmtprc diff --git a/dot/profile b/.profile diff --git a/dot/ssh/config b/.ssh/config diff --git a/dot/tmux.conf b/.tmux.conf diff --git a/dot/xinitrc b/.xinitrc diff --git a/etc/agenda/34c3 b/agenda/34c3 diff --git a/etc/agenda/epitech b/agenda/epitech diff --git a/etc/agenda/fosdem b/agenda/fosdem diff --git a/etc/agenda/main b/agenda/main diff --git a/bin/tpl b/bin/tpl @@ -1,5 +0,0 @@ -#!/bin/sh - -[ "$#" -ge 1 ] || exec ls -R "$ETC/tpl" - -exec cat "$ETC/tpl/$1" diff --git a/etc/collectd.conf b/collectd.conf diff --git a/configure b/configure @@ -1,15 +1,14 @@ #!/bin/sh -e -DIR="$(cd "${0%/*}" && pwd)" +cd "$0/.." +. ./.profile -. "$DIR/dot/profile" +find * -type d -exec mkdir -p "${ETC}/{}" \; +find * -type f -exec ln -sf "${PWD}/{}" "${ETC}/{}" \; +find * -type l -exec ln -sf "${PWD}/{}" "${ETC}/{}" \; -cd "$DIR/etc" -find * -type d -exec mkdir -p "${ETC}/{}" \; -find * ! -type d -exec ln -sf "${PWD}/{}" "${ETC}/{}" \; - -cd "$DIR/dot" -find * -type d -exec mkdir -p "${HOME}/.{}" \; -find * ! -type d -exec ln -sf "${PWD}/{}" "${HOME}/.{}" \; +find .* -name .git -prune -o -type d -exec mkdir -p "${HOME}/{}" \; +find .* -name .git -prune -o -type f -exec ln -sf "${PWD}/{}" "${HOME}/{}" \; +find .* -name .git -prune -o -type l -exec ln -sf "${PWD}/{}" "${HOME}/{}" \; find -L "${HOME}" -maxdepth 2 -type l -exec rm {} + diff --git a/enchive/enchive.pub b/enchive/enchive.pub @@ -0,0 +1 @@ +/mnt/key/enchive.pub+ \ No newline at end of file diff --git a/enchive/enchive.sec b/enchive/enchive.sec @@ -0,0 +1 @@ +/mnt/key/enchive.sec+ \ No newline at end of file diff --git a/etc/enchive/enchive.pub b/etc/enchive/enchive.pub @@ -1 +0,0 @@ -/mnt/key/enchive.pub- \ No newline at end of file diff --git a/etc/enchive/enchive.sec b/etc/enchive/enchive.sec @@ -1 +0,0 @@ -/mnt/key/enchive.sec- \ No newline at end of file diff --git a/etc/fortune b/fortune diff --git a/etc/git/config b/git/config diff --git a/etc/mblaze/filter b/mblaze/filter diff --git a/etc/mblaze/profile b/mblaze/profile diff --git a/etc/sfeed b/sfeed diff --git a/etc/tinc/conf.d/common b/tinc/conf.d/common diff --git a/etc/tinc/hosts/nas b/tinc/hosts/nas diff --git a/etc/tinc/hosts/rpi b/tinc/hosts/rpi diff --git a/etc/tinc/hosts/t470s b/tinc/hosts/t470s diff --git a/etc/tinc/tinc-up b/tinc/tinc-up diff --git a/tpl/make-test b/tpl/make-test @@ -1,8 +0,0 @@ - -test: ${TEST:.c=} -${TEST:.c=}: ${TEST:.c=.o} ${OBJ} - @printf '\n' - g++ ${OBJ} -o $@ $@.o ${LDFLAGS} - -@if [ -f $@.ref ]; then $@ | diff - $@.ref; else $@; fi && \ - printf '[\033[1;32m OK \033[m]\n' || \ - printf '[\033[1;31mFAIL\033[m]\n' diff --git a/etc/twt b/twt diff --git a/etc/uri b/uri