1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00

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

View File

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