diff options
| author | Lucas C. Villa Real <lucasvr@gmail.com> | 2017-01-27 11:49:27 -0200 | 
|---|---|---|
| committer | Lucas C. Villa Real <lucasvr@gmail.com> | 2017-01-27 11:49:27 -0200 | 
| commit | 176eb90424eb9c448088b12a49c3ec9742f089a4 (patch) | |
| tree | 2b0ffe5258064a15de1d142a557883c2d108048d | |
| parent | 9ce5c999d21cd9021f7b7686f7d721e4b3ad07fa (diff) | |
| download | ThirdPartyInstallers-176eb90424eb9c448088b12a49c3ec9742f089a4.tar.xz | |
Print the camel-case program name before installation begins.
| -rwxr-xr-x | bin/ThirdPartyInstaller | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ThirdPartyInstaller b/bin/ThirdPartyInstaller index bcbf6d5..b9ba9aa 100755 --- a/bin/ThirdPartyInstaller +++ b/bin/ThirdPartyInstaller @@ -381,7 +381,6 @@ function lookup_pkgname() {      # Query the GoboLinux recipe store.      if ! Boolean "no-web"      then -          local recipeurl=$(FindPackage -t recipe "${pkgname}" || FindPackage -t recipe "${goboname}")          if [ "$recipeurl" ]          then @@ -427,6 +426,10 @@ function prepare_program_entry() {      fi      # Prepare /Programs tree and update program name (PrepareProgram may have changed its case) +    if [ "$programname" = `echo "$programname" | tr '[:upper:]' '[:lower:]'` ] +    then Log_Normal "Program name is $(GuessProgramCase $programname)" +    else Log_Normal "Program name is $programname" +    fi      PrepareProgram -t "$programname" "$programversion"      programname=$(ls $goboPrograms/ | grep -i "^${programname}$")      target="$goboPrograms/$programname/$programversion"  | 
