diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-02 20:45:34 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-02 20:45:34 +0300 |
| commit | c53a81b0d825af9441e97e901c8fd0e3b095af93 (patch) | |
| tree | 254565190b4fc6fd771b8ad44f76bd6854a717e9 /bot.zsh | |
| parent | a7da5b685c3b9394f3d8dc5cd4289f3eb9d08185 (diff) | |
bot: Rename startup variables
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'bot.zsh')
| -rwxr-xr-x | bot.zsh | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -52,14 +52,14 @@ user_locks=( shorts ) -zmods=( +zmodules=( zsh/datetime zsh/files zsh/stat zsh/zutil ) -reqs=( +dependencies=( busybox curl jq @@ -189,11 +189,11 @@ then exit 0 fi -for zmod in ${zmods[@]} +for zmodule in ${zmodules[@]} do - if ! zmodload ${zmod} + if ! zmodload ${zmodule} then - failed="${failed} ${zmod}" + failed="${failed} ${zmodule}" fi done @@ -204,11 +204,11 @@ then exit 1 fi -for req in ${reqs[@]} +for dependency in ${dependencies[@]} do - if ! command -v ${req} > /dev/null + if ! command -v ${dependency} > /dev/null then - missing="${missing} ${req}" + missing="${missing} ${dependency}" fi done |
