m0ar fizax
This commit is contained in:
@@ -304,8 +304,9 @@ function testAppendAlias() {
|
||||
}
|
||||
|
||||
function handleAliasEnviron() {
|
||||
cp $rcFile $rcFile.bak # backup da thing first frong
|
||||
# the pretty comment and such first
|
||||
testAppendAlias "# esp-idf-tools aliases" "\n# esp-idf-tools\n"
|
||||
testAppendAlias "# esp-idf-tools aliases" "\n# esp-idf-tools"
|
||||
testAppendAlias "ESPIDFTOOLS_INSTALLDIR" "export ESPIDFTOOLS_INSTALLDIR=\"$defaultInstallDir\""
|
||||
testAppendAlias "get-esp-tools" "alias get-esp-tools='. $exportScript'"
|
||||
testAppendAlias "run-esp-cmd" "alias run-esp-cmd='bash $runningDir/esp-idf-tools-cmd.sh'"
|
||||
@@ -471,7 +472,8 @@ function handleChk() {
|
||||
|
||||
totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk+$rmExportBackupChk))
|
||||
|
||||
if [[ $totalErrorLoad < 2 ]]; then
|
||||
# fuckin make dis thing frickin work proper lmfao
|
||||
if [[ $totalErrorLoad < 3 ]]; then
|
||||
writeToLog "Installed Successfully, total error load: $totalErrorLoad"
|
||||
else
|
||||
writeToLog "Install FAILED! Dumping return codes:\n"
|
||||
|
||||
@@ -7,6 +7,7 @@ esp-idf-cools-cmd.sh
|
||||
get update properly workan frong
|
||||
some kinda more meaningful status indication instead of endless terminal spam?
|
||||
think i brope interaCTIVE lol
|
||||
do not show failure message on python returning 1
|
||||
x install.sh for curl -s github/install.sh | exec $SHELL installation
|
||||
make it handle shit like
|
||||
detecting existing dirs and erroring
|
||||
|
||||
Reference in New Issue
Block a user