[PATCH 2/3] paccache: Normalize single quote usage
Daniel M. Capella
polyzen at archlinux.org
Thu Sep 3 01:36:54 UTC 2020
Signed-off-by: Daniel M. Capella <polyzen at archlinux.org>
---
src/paccache.sh.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/paccache.sh.in b/src/paccache.sh.in
index fa53d58..5ab467e 100644
--- a/src/paccache.sh.in
+++ b/src/paccache.sh.in
@@ -162,7 +162,7 @@ summarize() {
printf -v output "finished: %d packages moved to '%s'" "$filecount" "$movedir"
elif (( dryrun )); then
if (( verbose )); then
- msg "Candidate packages:"
+ msg 'Candidate packages:'
while read -r pkg; do
if (( verbose >= 3 )); then
[[ $pkg =~ $pkg_re ]] && name=${BASH_REMATCH[1]} arch=${BASH_REMATCH[2]}
@@ -330,8 +330,8 @@ whitelist=("$@")
# sanity checks
case $(( dryrun+delete+move )) in
- 0) die "no operation specified (use -h for help)" ;;
- [^1]) die "only one operation may be used at a time" ;;
+ 0) die 'no operation specified (use -h for help)' ;;
+ [^1]) die 'only one operation may be used at a time' ;;
esac
[[ $movedir && ! -d $movedir ]] &&
--
2.28.0
More information about the pacman-contrib
mailing list