maj des inclusions

This commit is contained in:
Jephte CLAIN 2014-12-26 16:09:41 +04:00
parent c7a2baa796
commit b572a3ac85
3 changed files with 26643 additions and 5281 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,12 +64,16 @@ __ULIB_FORCE_RELOAD=
function urequire() { function urequire() {
local __u_module __u_ulibdir __u_found local __u_module __u_ulibdir __u_found
[ -n "$*" ] || set DEFAULTS [ -n "$*" ] || set DEFAULTS
local __ulib_force_reload="$__ULIB_FORCE_RELOAD"
local __ULIB_FORCE_RELOAD
for __u_module in "$@"; do for __u_module in "$@"; do
__u_found= __u_found=
for __u_ulibdir in "${ULIBDIRS[@]}"; do for __u_ulibdir in "${ULIBDIRS[@]}"; do
if [ -f "$__u_ulibdir/$__u_module" ]; then if [ -f "$__u_ulibdir/$__u_module" ]; then
__u_found=1 __u_found=1
if [ -n "$__ULIB_FORCE_RELOAD" ] || ! uprovided "$__u_module"; then if [ -n "$__ulib_force_reload" ] || ! uprovided "$__u_module"; then
uprovide "$__u_module" uprovide "$__u_module"
source "$__u_ulibdir/$__u_module" || die source "$__u_ulibdir/$__u_module" || die
fi fi
@ -79,7 +83,7 @@ function urequire() {
if [ -z "$__u_found" -a "$__u_module" == DEFAULTS ]; then if [ -z "$__u_found" -a "$__u_module" == DEFAULTS ]; then
__u_found=1 __u_found=1
for __u_module in base pretty sysinfos compat; do for __u_module in base pretty sysinfos compat; do
if [ -n "$__ULIB_FORCE_RELOAD" ] || ! uprovided "$__u_module"; then if [ -n "$__ulib_force_reload" ] || ! uprovided "$__u_module"; then
uprovide "$__u_module" uprovide "$__u_module"
source "$__u_ulibdir/$__u_module" || die source "$__u_ulibdir/$__u_module" || die
fi fi

26714
ucrontab

File diff suppressed because it is too large Load Diff