makepkg: change preselected option for cleaning the cache from Y to N

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Cedric Staniewski 2009-10-24 10:05:41 -05:00 committed by Dan McGee
parent 5ffc1ad3cd
commit 21caf8730f
1 changed files with 1 additions and 1 deletions

View File

@ -1565,7 +1565,7 @@ if [ "$CLEANCACHE" -eq 1 ]; then
if [ -n "$SRCDEST" -a "$SRCDEST" != "$startdir" ]; then
msg "$(gettext "Cleaning up ALL files from %s.")" "$SRCDEST"
echo -n "$(gettext " Are you sure you wish to do this? ")"
echo -n "$(gettext "[Y/n]")"
echo -n "$(gettext "[y/N]")"
read answer
answer=$(echo $answer | tr '[:lower:]' '[:upper:]')
if [ "$answer" = "$(gettext "YES")" -o "$answer" = "$(gettext "Y")" ]; then