maj template

This commit is contained in:
Jephté Clain 2013-10-31 15:10:24 +04:00
parent d556b033e9
commit 272c504d37
1 changed files with 18 additions and 0 deletions

View File

@ -146,12 +146,30 @@ Voulez-vous générer un script avec cette configuration?" X &&
'"$modeline"'
source "$(dirname "$0")/ulib/auto" || exit 1
eval "$(genparse)"
function display_help() {
uecho "$scriptname:
USAGE
$scriptname [options]
OPTIONS"
}
'
elif [ "$type" == default ]; then
echo >"$file" '#!/bin/bash
'"$modeline"'
source /etc/ulibauto || exit 1
eval "$(genparse)"
function display_help() {
uecho "$scriptname:
USAGE
$scriptname [options]
OPTIONS"
}
'
elif [ "$type" == manual ]; then
echo >"$file" '#!/bin/bash