Skip to content

Commit

Permalink
fixed the prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Jul 24, 2024
1 parent f593b8f commit a006690
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion installer/tools/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ install_eariler_version() {
mkdir -p "$2/tmp"
curl -L $prev_installer_url -o "$prev_installer_path"
verbose "Execute old_setup.sh ($1) in $prev_installer_path"
bash $prev_installer_path --install-opencv $3 --version $1
if [ -n $3 ]; then
bash $prev_installer_path --version $1 --install-opencv
else
bash $prev_installer_path --version $1
fi

info "Install successfully."
exit 0
Expand Down

0 comments on commit a006690

Please sign in to comment.