mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
pacdiff: make pacmandb search the default type.
Signed-off-by: Jonathan Frazier <eyeswide@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
a79661225a
commit
2d9dad5e14
@ -37,7 +37,7 @@ $myname is a simple pacnew/pacorig/pacsave updater.
|
|||||||
|
|
||||||
Usage: $myname [-l | -f | -p] [--nocolor]
|
Usage: $myname [-l | -f | -p] [--nocolor]
|
||||||
|
|
||||||
Search Options: select one, default: find
|
Search Options: select one, default: pacmandb
|
||||||
-l/--locate scan using locate
|
-l/--locate scan using locate
|
||||||
-f/--find scan using find
|
-f/--find scan using find
|
||||||
-p/--pacmandb scan active config files from pacman db
|
-p/--pacmandb scan active config files from pacman db
|
||||||
@ -113,7 +113,7 @@ done
|
|||||||
m4_include(../scripts/library/term_colors.sh)
|
m4_include(../scripts/library/term_colors.sh)
|
||||||
|
|
||||||
case $(( USE_FIND + USE_LOCATE + USE_PACDB )) in
|
case $(( USE_FIND + USE_LOCATE + USE_PACDB )) in
|
||||||
0) USE_FIND=1;; # set the default search option
|
0) USE_PACDB=1;; # set the default search option
|
||||||
[^1]) error "Only one search option may be used at a time"
|
[^1]) error "Only one search option may be used at a time"
|
||||||
usage; exit 1;;
|
usage; exit 1;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user