nettoyer la branche

This commit is contained in:
Jephté Clain 2015-08-20 07:58:17 +04:00
parent 8e7644aedf
commit 7643573a8e
293 changed files with 2510 additions and 2511 deletions

2
SKvm
View File

@ -131,7 +131,7 @@ if [ "$action" == list ]; then
fi fi
echo "$avm$state" echo "$avm$state"
done done
elif [ "$action" == start ]; then elif [ "$action" == start ]; then
if [ -z "$vm" -a -n "${svms[*]}" ]; then if [ -z "$vm" -a -n "${svms[*]}" ]; then
[ -n "${rvms[*]}" ] && [ -n "${rvms[*]}" ] &&

View File

@ -99,7 +99,7 @@ if [ "$action" == list ]; then
fi fi
echo "$avm$state" echo "$avm$state"
done done
elif [ "$action" == start ]; then elif [ "$action" == start ]; then
if [ -z "$vm" -a -n "${svms[*]}" ]; then if [ -z "$vm" -a -n "${svms[*]}" ]; then
[ -n "${rvms[*]}" ] && [ -n "${rvms[*]}" ] &&

View File

@ -167,7 +167,7 @@ function parent_apacheconfig() {
# chercher à partir du répertoire courant si un des répertoires parents # chercher à partir du répertoire courant si un des répertoires parents
# s'appelle apacheconfig # s'appelle apacheconfig
local dir="$(pwd)" dirname local dir="$(pwd)" dirname
while true; do while true; do
setx dirname=basename -- "$dir" setx dirname=basename -- "$dir"
if [ "$dir" == / ]; then if [ "$dir" == / ]; then

2
caturl
View File

@ -58,7 +58,7 @@ else
fi fi
fi fi
fi fi
if [ -n "$URLFILE" ]; then if [ -n "$URLFILE" ]; then
# lire l'url dans un fichier # lire l'url dans un fichier
if [ "${URLFILE%.url}" != "$URL" ]; then if [ "${URLFILE%.url}" != "$URL" ]; then

View File

@ -2,7 +2,7 @@
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8 # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
# See notice of copyright and license at end. # See notice of copyright and license at end.
# If you use this program for a #! script, please include the following # If you use this program for a #! script, please include the following
# as the second line of the script: # as the second line of the script:
# See http://Yost.com/computers/compileAndGo # See http://Yost.com/computers/compileAndGo
@ -149,7 +149,7 @@ ls-linux() {
# 11742 2005-07-28 11:54:01.000000000 # 11742 2005-07-28 11:54:01.000000000
( (
ls -dl --full-time --time-style=full-iso "$1" \ ls -dl --full-time --time-style=full-iso "$1" \
| sed 's,.*[0-9] \([12][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\) \([0-9][0-9]\):\([0-9][0-9]\):\([0-9][0-9]\).[0-9]* .*,\1.\2-\3-\4,' | sed 's,.*[0-9] \([12][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\) \([0-9][0-9]\):\([0-9][0-9]\):\([0-9][0-9]\).[0-9]* .*,\1.\2-\3-\4,'
) 2> /dev/null ) 2> /dev/null
} }
@ -507,12 +507,12 @@ cachedExecutable=$cacheDir/$executableFilename
# * Only the user or root can chmod a file or folder owned by him. # * Only the user or root can chmod a file or folder owned by him.
# * Only the user or root can write into a file or folder that is 700. # * Only the user or root can write into a file or folder that is 700.
# * Only root can chown a file or folder to the user. # * Only root can chown a file or folder to the user.
# so only the user or root can construct a suitable file in the suitable # so only the user or root can construct a suitable file in the suitable
# folder. No one else can. That's about as good as it can get on unix. # folder. No one else can. That's about as good as it can get on unix.
# The attack would be limited to finding some existing folder containing # The attack would be limited to finding some existing folder containing
# an executable of the correct name, both owned by the user and 700, # an executable of the correct name, both owned by the user and 700,
# then moving the folder into the appropriate path. # then moving the folder into the appropriate path.
# The implementation should be expanded to require that all folders from # The implementation should be expanded to require that all folders from
# $cacheDir through $cacheDirParent must be owned by user and be 700. # $cacheDir through $cacheDirParent must be owned by user and be 700.
if [[ ! -O $cachedExecutable ]] ; then if [[ ! -O $cachedExecutable ]] ; then
if [[ -e $cachedExecutable ]] ; then if [[ -e $cachedExecutable ]] ; then
@ -536,9 +536,9 @@ if [[ ! -O $cachedExecutable ]] ; then
mkdir -p $cacheDirParent mkdir -p $cacheDirParent
echo > $cacheDirParent/../README "See http://Yost.com/computers/compileAndGo" echo > $cacheDirParent/../README "See http://Yost.com/computers/compileAndGo"
fi fi
mkdir -p $cacheDir mkdir -p $cacheDir
# Compile the source. # Compile the source.
if (( 0$verbose == 1 )) ; then if (( 0$verbose == 1 )) ; then
echo 1>&2 "[ $commandName: compiling. ]" echo 1>&2 "[ $commandName: compiling. ]"
@ -549,7 +549,7 @@ if [[ ! -O $cachedExecutable ]] ; then
fi fi
echo "$sourceCode" > $cacheDir/$sourceFilename echo "$sourceCode" > $cacheDir/$sourceFilename
eval $compileCmd eval $compileCmd
# Make a canonical name we can look at to determine access time. # Make a canonical name we can look at to determine access time.
ln -f $cachedExecutable $cacheDir/.executable ln -f $cachedExecutable $cacheDir/.executable
fi fi
@ -604,22 +604,22 @@ exit $status
# compileAndGo 5.0 2010-11-06 # compileAndGo 5.0 2010-11-06
# which at time of this publication can be found at: # which at time of this publication can be found at:
# http://Yost.com/computers/compileAndGo # http://Yost.com/computers/compileAndGo
# Redistribution and use in the form of source code or derivative data built # Redistribution and use in the form of source code or derivative data built
# from the source code, with or without modification, are permitted provided # from the source code, with or without modification, are permitted provided
# that the following conditions are met: # that the following conditions are met:
# 1. THE USER AGREES THAT THERE IS NO WARRANTY. # 1. THE USER AGREES THAT THERE IS NO WARRANTY.
# 2. If and only if appropriate, the above phrase "This version is" must be # 2. If and only if appropriate, the above phrase "This version is" must be
# followed by the phrase "a modified form of" or "extracted from" or # followed by the phrase "a modified form of" or "extracted from" or
# "extracted and modified from". # "extracted and modified from".
# 3. Redistributions of source code must retain this notice intact. # 3. Redistributions of source code must retain this notice intact.
# 4. Redistributions in the form of derivative data built from the source # 4. Redistributions in the form of derivative data built from the source
# code must reproduce this notice intact in the documentation and/or other # code must reproduce this notice intact in the documentation and/or other
# materials provided with the distribution, and each file in the derivative # materials provided with the distribution, and each file in the derivative
# data must reproduce any Yost.com URI included in the original distribution. # data must reproduce any Yost.com URI included in the original distribution.
# 5. Neither the name of Dave Yost nor the names of its contributors may be # 5. Neither the name of Dave Yost nor the names of its contributors may be
# used to endorse or promote products derived from this software without # used to endorse or promote products derived from this software without
# specific prior written permission. # specific prior written permission.
# 6. Written permission by the author is required for redistribution as part # 6. Written permission by the author is required for redistribution as part
# of a commercial product. # of a commercial product.
# This notice comprises all text from "Copyright" above through the end of # This notice comprises all text from "Copyright" above through the end of
# this sentence. # this sentence.

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: DefaultTiddlers ##@title: DefaultTiddlers
[[Main]] [[Main]]

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: EnsureVM ##@title: EnsureVM
{{{ {{{

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: Main ##@title: Main
!Présentation !Présentation

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: MainMenu ##@title: MainMenu
[[GettingStarted]] [[GettingStarted]]

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: SKvm ##@title: SKvm
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: SVirtualBox ##@title: SVirtualBox
{{{ {{{

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: SiteSubtitle ##@title: SiteSubtitle
Outils divers pour linux/macosx, et librairies pour bash Outils divers pour linux/macosx, et librairies pour bash

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: SiteTitle ##@title: SiteTitle
nutools nutools

View File

@ -19,7 +19,7 @@
##@created: 09/03/2012 05:08 ##@created: 09/03/2012 05:08
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: SiteUrl ##@title: SiteUrl

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: _root ##@title: _root
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: authftp ##@title: authftp
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: caturl ##@title: caturl
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: compileAndGo ##@title: compileAndGo
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: fconv ##@title: fconv
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: fnconv ##@title: fnconv
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: geturl ##@title: geturl
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: mkRewriteRules ##@title: mkRewriteRules
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:19 ##@created: 15/03/2012 22:19
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: mkiso ##@title: mkiso
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: mkurl ##@title: mkurl
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: mkusfx ##@title: mkusfx
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: openurl ##@title: openurl
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: rmtildes ##@title: rmtildes
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 30/03/2012 04:42 ##@created: 30/03/2012 04:42
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: rruns ##@title: rruns
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ruinst ##@title: ruinst
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 30/03/2012 04:42 ##@created: 30/03/2012 04:42
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: runs ##@title: runs
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: rwoinst ##@title: rwoinst
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: twsync ##@title: twsync
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ubackup ##@title: ubackup
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uconf ##@title: uconf
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ucrontab ##@title: ucrontab
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: udir ##@title: udir
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uenv ##@title: uenv
{{{ {{{

View File

@ -3,12 +3,12 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uinc.sh ##@title: uinc.sh
{{{ {{{
uinc.py: Plier/déplier des inclusions dans un fichier uinc.py: Plier/déplier des inclusions dans un fichier
USAGE USAGE
uinc.py [[options] dest...] uinc.py [[options] dest...]

View File

@ -3,12 +3,12 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uinc ##@title: uinc
{{{ {{{
uinc.py: Plier/déplier des inclusions dans un fichier uinc.py: Plier/déplier des inclusions dans un fichier
USAGE USAGE
uinc.py [[options] dest...] uinc.py [[options] dest...]

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uinst.sh ##@title: uinst.sh
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uinst ##@title: uinst
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ujava ##@title: ujava
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uldap ##@title: uldap
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 02/06/2012 09:54 ##@created: 02/06/2012 09:54
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib ##@title: ulib
!Liste des librairies de ulib !Liste des librairies de ulib

View File

@ -3,6 +3,6 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/DEFAULTS ##@title: ulib/DEFAULTS

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/apache ##@title: ulib/apache
!! {{{get_default_apachebin_prefix}}} !! {{{get_default_apachebin_prefix}}}

View File

@ -3,7 +3,7 @@
##@created: 02/06/2012 09:54 ##@created: 02/06/2012 09:54
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/base ##@title: ulib/base
!! {{{isnum}}} !! {{{isnum}}}

View File

@ -3,6 +3,6 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/bash ##@title: ulib/bash

View File

@ -3,6 +3,6 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/compat ##@title: ulib/compat

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/conf ##@title: ulib/conf
!! {{{conf_enable}}} !! {{{conf_enable}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/crontab ##@title: ulib/crontab
!! {{{add_to_crontab}}} !! {{{add_to_crontab}}}

View File

@ -3,7 +3,7 @@
##@created: 30/03/2012 04:43 ##@created: 30/03/2012 04:43
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/debian ##@title: ulib/debian
!! {{{pkg_check}}} !! {{{pkg_check}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/install ##@title: ulib/install
!! {{{ensure_exists}}} !! {{{ensure_exists}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/ipcalc ##@title: ulib/ipcalc
!! {{{get_random_kvm_macaddr}}} !! {{{get_random_kvm_macaddr}}}
@ -50,5 +50,5 @@ suffixe sont invalides ou non supportés.
Vérifier si l'adresse $1 correspond au modèle $2, e.g.: Vérifier si l'adresse $1 correspond au modèle $2, e.g.:
ipcalc_match 10.75.0.23 10/8 --> TRUE ipcalc_match 10.75.0.23 10/8 --> TRUE
ipcalc_match 10.75.0.23 10.75.0.0/24 --> TRUE ipcalc_match 10.75.0.23 10.75.0.0/24 --> TRUE
ipcalc_match 10.75.0.23 10.75.0.28 --> FALSE ipcalc_match 10.75.0.23 10.75.0.28 --> FALSE
}}} }}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/java ##@title: ulib/java
!! {{{select_java}}} !! {{{select_java}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/javaproperties ##@title: ulib/javaproperties
!! {{{read_property}}} !! {{{read_property}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/ldap ##@title: ulib/ldap
!! {{{get_default_ldapconfdir_prefix}}} !! {{{get_default_ldapconfdir_prefix}}}

View File

@ -3,7 +3,7 @@
##@created: 02/06/2012 09:54 ##@created: 02/06/2012 09:54
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/ldif ##@title: ulib/ldif
!! {{{def_match_attr}}} !! {{{def_match_attr}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/legacy ##@title: ulib/legacy
!! {{{file_get_vars}}} !! {{{file_get_vars}}}

View File

@ -3,7 +3,7 @@
##@created: 02/06/2012 09:54 ##@created: 02/06/2012 09:54
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/macosx ##@title: ulib/macosx
!! {{{local_shellfix}}} !! {{{local_shellfix}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/mkcrypt ##@title: ulib/mkcrypt
!! {{{mkcrypt}}} !! {{{mkcrypt}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/modeline ##@title: ulib/modeline
!! {{{printml}}} !! {{{printml}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/network-manager-service ##@title: ulib/network-manager-service
!! {{{SERVICE_OVERRIDE_network_manager_stopx}}} !! {{{SERVICE_OVERRIDE_network_manager_stopx}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/pkg ##@title: ulib/pkg
!! {{{pkg_check}}} !! {{{pkg_check}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/prefixes ##@title: ulib/prefixes
!! {{{get_USER_prefix}}} !! {{{get_USER_prefix}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/pretty ##@title: ulib/pretty
!! {{{get_color}}} !! {{{get_color}}}

View File

@ -3,7 +3,7 @@
##@created: 02/06/2012 09:54 ##@created: 02/06/2012 09:54
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/runs ##@title: ulib/runs
!! {{{runs_initdir}}} !! {{{runs_initdir}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/service ##@title: ulib/service
!! {{{service}}} !! {{{service}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/sysinfos ##@title: ulib/sysinfos
!! {{{ensure_sysinfos}}} !! {{{ensure_sysinfos}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/tiddlywiki ##@title: ulib/tiddlywiki
!! {{{twget_version}}} !! {{{twget_version}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/udir ##@title: ulib/udir
!! {{{udir_check}}} !! {{{udir_check}}}

View File

@ -3,6 +3,6 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/uenv ##@title: ulib/uenv

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/uenv_update ##@title: ulib/uenv_update
!! {{{uenv_update_dir}}} !! {{{uenv_update_dir}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/uinc ##@title: ulib/uinc
!! {{{uinc}}} !! {{{uinc}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/uinst ##@title: ulib/uinst
!! {{{uinst}}} !! {{{uinst}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/ulib ##@title: ulib/ulib
!! {{{eerror}}} !! {{{eerror}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/ulibsh ##@title: ulib/ulibsh
!! {{{eerror}}} !! {{{eerror}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/vcs ##@title: ulib/vcs
!! {{{vcs_getvcs_help}}} !! {{{vcs_getvcs_help}}}

View File

@ -3,7 +3,7 @@
##@created: 30/03/2012 04:43 ##@created: 30/03/2012 04:43
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/virsh ##@title: ulib/virsh
!! {{{virsh_filter}}} !! {{{virsh_filter}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/webobjects ##@title: ulib/webobjects
!! {{{compute_webobjects_prefixes}}} !! {{{compute_webobjects_prefixes}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/woinst ##@title: ulib/woinst
!! {{{date2version}}} !! {{{date2version}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/wondermonitor ##@title: ulib/wondermonitor
!! {{{wom__statistics}}} !! {{{wom__statistics}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/wosign ##@title: ulib/wosign
!! {{{wosign_setup_maybe}}} !! {{{wosign_setup_maybe}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15 ##@created: 15/03/2012 22:15
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulib/wotaskd ##@title: ulib/wotaskd
!! {{{wot_config}}} !! {{{wot_config}}}

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulibshell ##@title: ulibshell
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: ulibsync ##@title: ulibsync
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: umatch ##@title: umatch
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: umirror ##@title: umirror
{{{ {{{

View File

@ -37,7 +37,7 @@ function write_twpage() {
##@created: $created ##@created: $created
##@modifier: $USER ##@modifier: $USER
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: $title" >"$twpage" ##@title: $title" >"$twpage"
cat "$newcontent" >>"$twpage" cat "$newcontent" >>"$twpage"
fi fi
@ -71,7 +71,7 @@ if [ -n "$tools" ]; then
else else
array_lsfiles cmds .. array_lsfiles cmds ..
fi fi
for cmd in "${cmds[@]}"; do for cmd in "${cmds[@]}"; do
cmdname="$(basename "$cmd")" cmdname="$(basename "$cmd")"
twpage="$cmdname.twp" twpage="$cmdname.twp"
@ -83,7 +83,7 @@ if [ -n "$tools" ]; then
{{{ {{{
$("$cmd" --help) $("$cmd" --help)
}}}" >"$newcontent" }}}" >"$newcontent"
write_twpage "$oldcontent" "$cmdname" "$newcontent" "$twpage" write_twpage "$oldcontent" "$cmdname" "$newcontent" "$twpage"
done done
fi fi

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uprefix ##@title: uprefix
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: uproject ##@title: uproject
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: usysinfos ##@title: usysinfos
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: vzusage ##@title: vzusage
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: woArchive ##@title: woArchive
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: woSwitch ##@title: woSwitch
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: woctl ##@title: woctl
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: woinst ##@title: woinst
{{{ {{{

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:20 ##@created: 15/03/2012 22:20
##@modifier: jclain ##@modifier: jclain
##@changecount: 1 ##@changecount: 1
##@tags: ##@tags:
##@title: wosign ##@title: wosign
{{{ {{{

2
geturl
View File

@ -34,7 +34,7 @@ elif progexists curl; then
curl -C - -o "$filename" "$@" "$url" curl -C - -o "$filename" "$@" "$url"
else else
curl -o "$filename" "$@" "$url" curl -o "$filename" "$@" "$url"
fi fi
else else
die "Aucune méthode de téléchargement n'a été détectée" die "Aucune méthode de téléchargement n'a été détectée"
fi fi

View File

@ -16,25 +16,25 @@ function __envsetup_check_file() {
# ignorer les fichiers qui ont l'extension .ignore # ignorer les fichiers qui ont l'extension .ignore
[ "${file%%.ignore}" != "$file" ] && return 1 [ "${file%%.ignore}" != "$file" ] && return 1
# tester si le fichier est spécifique à une plateforme # tester si le fichier est spécifique à une plateforme
system="$(expr "$file" : ".*\\.\\[\\([^.]*\\)\\]")" system="$(expr "$file" : ".*\\.\\[\\([^.]*\\)\\]")"
[ -n "$system" -a "$system" != "$SYSTEM_NAME" ] && return 1 [ -n "$system" -a "$system" != "$SYSTEM_NAME" ] && return 1
system="$(expr "$file" : ".*\\.\\[-\\([^.]*\\)\\]")" system="$(expr "$file" : ".*\\.\\[-\\([^.]*\\)\\]")"
[ -n "$system" -a "$system" == "$SYSTEM_NAME" ] && return 1 [ -n "$system" -a "$system" == "$SYSTEM_NAME" ] && return 1
# tester si le fichier est spécifique à une machine # tester si le fichier est spécifique à une machine
host="$(expr "$file" : ".*\\.on_\\([^.]*\\)")" host="$(expr "$file" : ".*\\.on_\\([^.]*\\)")"
[ -n "$host" -a "$host" != "$BASEHOST" ] && return 1 [ -n "$host" -a "$host" != "$BASEHOST" ] && return 1
host="$(expr "$file" : ".*\\.noton_\\([^.]*\\)")" host="$(expr "$file" : ".*\\.noton_\\([^.]*\\)")"
[ -n "$host" -a "$host" == "$BASEHOST" ] && return 1 [ -n "$host" -a "$host" == "$BASEHOST" ] && return 1
# tester si le fichier est spécifique à un utilisateur # tester si le fichier est spécifique à un utilisateur
user="$(expr "$file" : ".*\\.for_\\([^.]*\\)")" user="$(expr "$file" : ".*\\.for_\\([^.]*\\)")"
[ -n "$user" -a "$user" != "$USER" ] && return 1 [ -n "$user" -a "$user" != "$USER" ] && return 1
user="$(expr "$file" : ".*\\.notfor_\\([^.]*\\)")" user="$(expr "$file" : ".*\\.notfor_\\([^.]*\\)")"
[ -n "$user" -a "$user" == "$USER" ] && return 1 [ -n "$user" -a "$user" == "$USER" ] && return 1
return 0 return 0
} }

Some files were not shown because too many files have changed in this diff Show More