Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
dbscripts
Commits
6db50933
Verified
Commit
6db50933
authored
Nov 15, 2021
by
Jelle van der Waa
🚧
Browse files
db-remove: db-update: apply required quoting from shellcheck
parent
c87e6ad3
Pipeline
#13199
passed with stage
in 9 minutes and 22 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
db-remove
View file @
6db50933
...
...
@@ -33,7 +33,7 @@ remove_pkgs=()
for
pkgbase
in
"
${
pkgbases
[@]
}
"
;
do
msg
"Removing %s from [%s]..."
"
$pkgbase
"
"
$repo
"
if
remove_pkgs+
=(
$(
source_pkgbuild
"
${
pkgbase
}
"
"repos/
${
vcsrepo
}
"
&&
echo
${
pkgname
[@]
}
)
)
;
then
if
remove_pkgs+
=(
$(
source_pkgbuild
"
${
pkgbase
}
"
"repos/
${
vcsrepo
}
"
&&
echo
"
${
pkgname
[@]
}
"
)
)
;
then
vcs_remove_package
"
${
pkgbase
}
"
"
${
vcsrepo
}
"
vcs_commit
"
${
0
##*/
}
:
$pkgbase
removed by
$(
id
-un
)
"
else
...
...
db-update
View file @
6db50933
...
...
@@ -102,7 +102,7 @@ for repo in "${repos[@]}"; do
add_pkgs+
=(
"
${
pkgfile
}
"
)
done
if
((
${#
add_pkgs
[@]
}
>=
1
))
;
then
arch_repo_modify add
"
${
repo
}
"
"
${
pkgarch
}
"
${
add_pkgs
[@]
}
arch_repo_modify add
"
${
repo
}
"
"
${
pkgarch
}
"
"
${
add_pkgs
[@]
}
"
fi
done
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment