dot

packages and services management
Log | Files | Refs | README

commit 16073230996b894fffcfc6a100a36517334fb8b1
parent 62cf6d3a01caf0b82b793890f67086c3a942aab1
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Fri, 28 Jul 2017 23:58:00 +0200

moved packages scripts

Diffstat:
A0-profile | 20++++++++++++++++++++
RDOWNLOAD -> 1-download | 0
RBUILD -> 2-build | 0
RINSTALL -> 3-install | 0
RCONFIG -> 4-config | 0
RSERVICE -> 5-service | 0
RREMOVE -> 6-remove | 0
Dprofile | 20--------------------
Mshell/.profile | 2+-
9 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/0-profile b/0-profile @@ -0,0 +1,20 @@ +export ETC="$HOME/etc" +export OPT="$HOME/opt" +export SRC="$HOME/src" +export GIT="$HOME/git" +export VAR="$HOME/var" + +export ROOT="$HOME/.local" + +export MANPATH="$ROOT/man:$MANPATH" +export C_INCLUDE_PATH="$ROOT/include" +export LIBRARY_PATH="$ROOT/.local/lib" +export LD_LIBRARY_PATH="$ROOT/lib:$LD_LIBRARY_PATH" + +for bin in "$ETC/bin" "$ETC"/*/bin "$OPT"/*/bin +do [ -d "$bin" ] && export PATH="$bin:$PATH" +done + +for profile in "$ETC"/*/profile +do [ -f "$ETC"/*/profile ] && . "$profile" +done diff --git a/DOWNLOAD b/1-download diff --git a/BUILD b/2-build diff --git a/INSTALL b/3-install diff --git a/CONFIG b/4-config diff --git a/SERVICE b/5-service diff --git a/REMOVE b/6-remove diff --git a/profile b/profile @@ -1,20 +0,0 @@ -export ETC="$HOME/etc" -export OPT="$HOME/opt" -export SRC="$HOME/src" -export GIT="$HOME/git" -export VAR="$HOME/var" - -export ROOT="$HOME/.local" - -export MANPATH="$ROOT/man:$MANPATH" -export C_INCLUDE_PATH="$ROOT/include" -export LIBRARY_PATH="$ROOT/.local/lib" -export LD_LIBRARY_PATH="$ROOT/lib:$LD_LIBRARY_PATH" - -for bin in "$ETC"/*/bin "$ETC/bin" "$OPT"/*/bin -do [ -d "$bin" ] && export PATH="$bin:$PATH" -done - -for profile in "$ETC"/*/profile -do [ -f "$ETC"/*/profile ] && . "$profile" -done diff --git a/shell/.profile b/shell/.profile @@ -1,4 +1,4 @@ -. "$HOME/etc/profile" +. "$HOME/etc/0-profile" export NAME='Josuah Demangeon' export NICK='josuah'