Comparer les révisions
1 Révisions
be6908b9d4
...
4241a04463
| Auteur | SHA1 | Date | |
|---|---|---|---|
| 4241a04463 |
10
installJRMC
10
installJRMC
@@ -40,6 +40,8 @@ installJRMC () {
|
||||
|
||||
_printHelpAndExit () {
|
||||
|
||||
_runDebug "${FUNCNAME[0]}"
|
||||
|
||||
cat <<-'EOF'
|
||||
USAGE:
|
||||
installJRMC [[OPTION] [VALUE]]...
|
||||
@@ -103,6 +105,8 @@ EOF
|
||||
|
||||
_parseInput () {
|
||||
|
||||
_runDebug "${FUNCNAME[0]}"
|
||||
|
||||
if _input=$(getopt -o +vdhu -l rpmbuild,outputdir:,mcversion:,restorefile:,betapass:,service:,version,debug,help,uninstall,createrepo,createrepo-webroot:,createrepo-user:,vncpass:,display: -- "$@"); then
|
||||
eval set -- "$_input"
|
||||
while true; do
|
||||
@@ -170,7 +174,7 @@ EOF
|
||||
|
||||
_runDebug () {
|
||||
|
||||
[[ -n $_debug ]] && echo "Running: $*"
|
||||
[[ -n $_debug ]] && echo "Running: " "$@"
|
||||
}
|
||||
|
||||
|
||||
@@ -252,7 +256,7 @@ EOF
|
||||
|
||||
_installPackage () {
|
||||
|
||||
_runDebug "${FUNCNAME[0]}"
|
||||
_runDebug "${FUNCNAME[0]}" "$@"
|
||||
|
||||
# We will add packages to this array if their command is not available
|
||||
local -a _pkg_array
|
||||
@@ -286,7 +290,7 @@ EOF
|
||||
|
||||
_packageQuirks () {
|
||||
|
||||
_runDebug "${FUNCNAME[0]}"
|
||||
_runDebug "${FUNCNAME[0]}" "$@"
|
||||
|
||||
unset _url_pkg
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur