aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2017-01-27 11:49:27 -0200
committerLucas C. Villa Real <lucasvr@gmail.com>2017-01-27 11:49:27 -0200
commit176eb90424eb9c448088b12a49c3ec9742f089a4 (patch)
tree2b0ffe5258064a15de1d142a557883c2d108048d
parent9ce5c999d21cd9021f7b7686f7d721e4b3ad07fa (diff)
downloadThirdPartyInstallers-176eb90424eb9c448088b12a49c3ec9742f089a4.tar.xz
Print the camel-case program name before installation begins.
-rwxr-xr-xbin/ThirdPartyInstaller5
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"