Open billmax opened 3 weeks ago
I use Termux on Poco F2,when “ curl -fsSL https://get.casaos.io | sudo bash ” it reported as below:
#######################################
Show() {
if (($1 == 0)); then echo -e "${aCOLOUR[2]}[$COLOUR_RESET${aCOLOUR[0]} OK $COLOUR_RESET${aCOLOUR[2]}]$COLOUR_RESET $2" # FAILED elif (($1 == 1)); then echo -e "${aCOLOUR[2]}[$COLOUR_RESET${aCOLOUR[3]}FAILED$COLOUR_RESET${aCOLOUR[2]}]$COLOUR_RESET $2" exit 1 # INFO elif (($1 == 2)); then echo -e "${aCOLOUR[2]}[$bash: line 7: syntax error near unexpected token `elif'
bash: line 7: ` elif [ -x "$(command -v zypper)" ]; then' ~ $
I use Termux on Poco F2,when “ curl -fsSL https://get.casaos.io | sudo bash ” it reported as below:
#######################################
Custom printing function
Globals:
None
Arguments:
$1 0:OK 1:FAILED 2:INFO 3:NOTICE
message
Returns:
None
#######################################
Show() {
OK
bash: line 7: ` elif [ -x "$(command -v zypper)" ]; then' ~ $