Index scope
This commit is contained in:
parent
352b259bbb
commit
992bde2f97
|
@ -133,8 +133,8 @@ function show_apps {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
|
app_index=$((app_index+1))
|
||||||
fi
|
fi
|
||||||
app_index=$((app_index+1))
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
@ -174,8 +174,8 @@ function remove_apps_selected {
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
app_index=$((app_index+1))
|
||||||
fi
|
fi
|
||||||
app_index=$((app_index+1))
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# if no apps to be removed then don't do anything
|
# if no apps to be removed then don't do anything
|
||||||
|
@ -221,8 +221,8 @@ function install_apps_selected {
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
app_index=$((app_index+1))
|
||||||
fi
|
fi
|
||||||
app_index=$((app_index+1))
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# if no apps to be installed then don't do anything
|
# if no apps to be installed then don't do anything
|
||||||
|
|
Loading…
Reference in New Issue