mirror of https://gitlab.com/dabruh/dotfiles.git
Remove unused variable
This commit is contained in:
parent
e829294c1f
commit
4db75aa36c
|
@ -56,7 +56,7 @@ function is_laptop() {
|
||||||
# Returns a comma-separated list of packages for one or more targets.
|
# Returns a comma-separated list of packages for one or more targets.
|
||||||
# The packages file may contain multiple rows with the same target name.
|
# The packages file may contain multiple rows with the same target name.
|
||||||
function get_packages() {
|
function get_packages() {
|
||||||
local packages pkg_file="$SCRIPT_DIR/.installer/packages"
|
local pkg_file="$SCRIPT_DIR/.installer/packages"
|
||||||
|
|
||||||
for target in "$@"; do
|
for target in "$@"; do
|
||||||
while read -r row; do
|
while read -r row; do
|
||||||
|
@ -149,7 +149,7 @@ function setup_homebrew() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_brew_formulas() {
|
function setup_brew_formulas() {
|
||||||
local targets=("brew-formulas-any") packages
|
local targets=("brew-formulas-any")
|
||||||
|
|
||||||
brew update || return 1
|
brew update || return 1
|
||||||
|
|
||||||
|
@ -182,7 +182,7 @@ function setup_krew() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_krew_plugins() {
|
function setup_krew_plugins() {
|
||||||
local targets=("krew-any") packages
|
local targets=("krew-any")
|
||||||
|
|
||||||
if ! command -v kubectl-krew >/dev/null; then
|
if ! command -v kubectl-krew >/dev/null; then
|
||||||
echo "WARN: Krew not installed: kubectl-krew"
|
echo "WARN: Krew not installed: kubectl-krew"
|
||||||
|
|
Loading…
Reference in New Issue