index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2008-07-17 22:35:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 08:38:31 -0500 |
commit | 56f0cf9d157bc2b902e4590364e2926c2f169b05 (patch) | |
tree | 5d86aec093c8830b5d2269a5a220b7960cd1b423 /scripts | |
parent | 96e023c7bd0b1069878667278a45a34476c42472 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 7 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 77e61a0b..d127d164 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1215,10 +1215,11 @@ if [ "$CLEANCACHE" = "1" ]; then #fix flyspray feature request #5223 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? [Y/n] ")" + echo -n "$(gettext " Are you sure you wish to do this? ")" + echo -n "$(gettext "[Y/n]")" read answer - answer=$(echo $answer | tr '[:upper:]' '[:lower:]') - if [ "$answer" = "yes" -o "$answer" = "y" ]; then + answer=$(echo $answer | tr '[:lower:]' '[:upper:]') + if [ "$answer" = "$(gettext "YES")" -o "$answer" = "$(gettext "Y")" ]; then rm "$SRCDEST"/* if [ $? -ne 0 ]; then error "$(gettext "Problem removing files; you may not have correct permissions in %s")" "$SRCDEST" |