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
echo "$avm$state"
done
elif [ "$action" == start ]; then
if [ -z "$vm" -a -n "${svms[*]}" ]; then
[ -n "${rvms[*]}" ] &&

View File

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

View File

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

2
caturl
View File

@ -58,7 +58,7 @@ else
fi
fi
fi
if [ -n "$URLFILE" ]; then
# lire l'url dans un fichier
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
# 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:
# See http://Yost.com/computers/compileAndGo
@ -149,7 +149,7 @@ ls-linux() {
# 11742 2005-07-28 11:54:01.000000000
(
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
}
@ -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 write into a file or folder that is 700.
# * 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.
# 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.
# 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.
if [[ ! -O $cachedExecutable ]] ; then
if [[ -e $cachedExecutable ]] ; then
@ -536,9 +536,9 @@ if [[ ! -O $cachedExecutable ]] ; then
mkdir -p $cacheDirParent
echo > $cacheDirParent/../README "See http://Yost.com/computers/compileAndGo"
fi
mkdir -p $cacheDir
# Compile the source.
if (( 0$verbose == 1 )) ; then
echo 1>&2 "[ $commandName: compiling. ]"
@ -549,7 +549,7 @@ if [[ ! -O $cachedExecutable ]] ; then
fi
echo "$sourceCode" > $cacheDir/$sourceFilename
eval $compileCmd
# Make a canonical name we can look at to determine access time.
ln -f $cachedExecutable $cacheDir/.executable
fi
@ -604,22 +604,22 @@ exit $status
# compileAndGo 5.0 2010-11-06
# which at time of this publication can be found at:
# http://Yost.com/computers/compileAndGo
# Redistribution and use in the form of source code or derivative data built
# from the source code, with or without modification, are permitted provided
# Redistribution and use in the form of source code or derivative data built
# from the source code, with or without modification, are permitted provided
# that the following conditions are met:
# 1. THE USER AGREES THAT THERE IS NO WARRANTY.
# 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
# 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
# "extracted and modified from".
# 3. Redistributions of source code must retain this notice intact.
# 4. Redistributions in the form of derivative data built from the source
# code must reproduce this notice intact in the documentation and/or other
# materials provided with the distribution, and each file in the derivative
# 4. Redistributions in the form of derivative data built from the source
# code must reproduce this notice intact in the documentation and/or other
# materials provided with the distribution, and each file in the derivative
# 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
# used to endorse or promote products derived from this software without
# 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
# 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.
# 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.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
##@created: 15/03/2012 22:15
##@modifier: jclain
##@changecount: 1
##@tags:
##@tags:
##@title: ulib/ipcalc
!! {{{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.:
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.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
##@modifier: jclain
##@changecount: 1
##@tags:
##@tags:
##@title: ulib/java
!! {{{select_java}}}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

2
geturl
View File

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

View File

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

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