Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/pacdiff.sh.in
diff options
context:
space:
mode:
authorJason St. John <jstjohn@purdue.edu>2013-11-14 23:06:24 -0500
committerAllan McRae <allan@archlinux.org>2013-12-15 20:09:37 +1000
commit9749fb033c8794e8ac4b931678659aa2b79ae1b1 (patch)
tree471e00ba3b510d323d8358b3054dbc90fda13e76 /contrib/pacdiff.sh.in
parentae2c9bba5a0de58454814c5fa438cf1db52707ae (diff)
Fix misspellings and some grammar issues in output of some pacman contrib scripts
Affected files: -- contrib/bacman.sh.in -- contrib/paccache.sh.in -- contrib/pacdiff.sh.in -- contrib/rankmirrors.sh.in Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/pacdiff.sh.in')
-rw-r--r--contrib/pacdiff.sh.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/pacdiff.sh.in b/contrib/pacdiff.sh.in
index 735b2f55..cd5160c8 100644
--- a/contrib/pacdiff.sh.in
+++ b/contrib/pacdiff.sh.in
@@ -39,7 +39,7 @@ A simple program to merge or remove pacnew/pacorig/pacsave files.
Usage: $myname [-l | -f | -p] [--nocolor]
-Search Options: select one, default: pacmandb
+Search Options: select one (default: --pacmandb)
-l/--locate scan using locate
-f/--find scan using find
-p/--pacmandb scan active config files from pacman database
@@ -73,7 +73,7 @@ print_existing_pacsave(){
for f in "${1}"?(.+([0-9])); do
[[ -f $f ]] && printf '%s\0' "$f"
done
-}
+}
cmd() {
if (( USE_LOCATE )); then
@@ -94,7 +94,7 @@ cmd() {
fi
}
-while [[ -n "$1" ]]; do
+while [[ -n "$1" ]]; do
case "$1" in
-l|--locate)
USE_LOCATE=1;;
@@ -138,7 +138,7 @@ if (( USE_PACDB )); then
eval $(awk '/DBPath/ {print $1$2$3}' @sysconfdir@/pacman.conf)
pac_db="${DBPath:-@localstatedir@/lib/pacman/}local"
if [[ ! -d "${pac_db}" ]]; then
- error "unable to read pacman db %s". "${pac_db}"
+ error "unable to read pacman database %s". "${pac_db}"
usage; exit 1
fi
fi
@@ -147,7 +147,7 @@ fi
while IFS= read -u 3 -r -d '' pacfile; do
file="${pacfile%.pac*}"
file_type="pac${pacfile##*.pac}"
-
+
if (( OUTPUTONLY )); then
echo "$pacfile"
continue