[2/3] paccache: Normalize single quote usage

Message ID 20200903013655.92224-2-polyzen@archlinux.org
State Accepted, archived
Delegated to: Johannes Löthberg
Headers show
Series [1/3] paccache: Clarify sudo usage | expand

Commit Message

Daniel M. Capella Sept. 3, 2020, 1:36 a.m. UTC
Signed-off-by: Daniel M. Capella <polyzen@archlinux.org>
---
 src/paccache.sh.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

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 ]] &&