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:
parent
5ffc1ad3cd
commit
21caf8730f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user