61-dev1.6
This commit is contained in:
+20
-20
@@ -203,7 +203,7 @@ function handleDownloadInstall() {
|
|||||||
writeToLog "Handling download and install (function ran)"
|
writeToLog "Handling download and install (function ran)"
|
||||||
|
|
||||||
if [ "$idfGet" == "download" -o ! -d "$idfDir" ]; then
|
if [ "$idfGet" == "download" -o ! -d "$idfDir" ]; then
|
||||||
if [ ! -d "$idfDir" ]; then
|
if [ -d "$idfDir" ]; then
|
||||||
writeToLog "deleting $idfDir"
|
writeToLog "deleting $idfDir"
|
||||||
rm -rf $idfDir
|
rm -rf $idfDir
|
||||||
returnStatus
|
returnStatus
|
||||||
@@ -220,25 +220,25 @@ function handleDownloadInstall() {
|
|||||||
returnStatus
|
returnStatus
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# is this helpful in teh slightest? idk lel
|
# # is this helpful in teh slightest? idk lel
|
||||||
if [ ! -z $(which python3) ]; then
|
# if [ $(which python3) ]; then
|
||||||
writeToLog "python3 found at $(which python3), using"
|
# writeToLog "python3 found at $(which python3), using"
|
||||||
idfPython="python3"
|
# idfPython="python3"
|
||||||
elif [! -z $(which python) ]; then
|
# elif [! -z $(which python) ]; then
|
||||||
writeToLog "python found at $(which python), using"
|
# writeToLog "python found at $(which python), using"
|
||||||
idfPython="python"
|
# idfPython="python"
|
||||||
else
|
# else
|
||||||
writeToLog "no python found, skipping python tools install"
|
# writeToLog "no python found, skipping python tools install"
|
||||||
fi
|
# fi
|
||||||
|
#
|
||||||
if [ -z $idfPython ]; then
|
# if [ -z $idfPython ]; then
|
||||||
writeToLog "installing tools with \`eval \"$idfPython $toolsInstallCmd\"\`"
|
# writeToLog "installing tools with \`eval \"$idfPython $toolsInstallCmd\"\`"
|
||||||
|
#
|
||||||
eval "$idfPython $toolsInstallCmd"
|
# eval "$idfPython $toolsInstallCmd"
|
||||||
returnStatus
|
# returnStatus
|
||||||
else
|
# else
|
||||||
writeToLog "No python found on system, skipping python tools install"
|
# writeToLog "No python found on system, skipping python tools install"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
writeToLog "getting the commit hash"
|
writeToLog "getting the commit hash"
|
||||||
commitHash=$(git -C $idfDir rev-parse HEAD)
|
commitHash=$(git -C $idfDir rev-parse HEAD)
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
61-dev1.5
|
61-dev1.6
|
||||||
Reference in New Issue
Block a user