SHARE
TWEET

Untitled

a guest Oct 29th, 2011 212 Never
  1. --- pkgbuild.sh.orig    2011-10-29 19:02:51.627634026 +0900
  2. +++ pkgbuild.sh 2011-10-29 19:02:28.490825913 +0900
  3. @@ -310,9 +310,7 @@
  4.         done
  5.         local _arg=""
  6.         ((SYSUPGRADE && UP_NOCONFIRM)) && _arg+=" --noconfirm"
  7. -       (( ! failed )) && for _file in "$YPKGDEST"/*; do
  8. -               su_pacman -U $SP_ARG "${PACMAN_S_ARG[@]}" $_arg $_file || { failed=$?; break; }
  9. -       done
  10. +       (( ! failed )) && su_pacman -U $SP_ARG "${PACMAN_S_ARG[@]}" $_arg "$YPKGDEST"/* || { failed=$?; break; }
  11.         if (( failed )); then
  12.                 warning $(_gettext "Your packages are saved in %s" "$YAOURTTMPDIR")
  13.                 cp -i "$YPKGDEST"/* $YAOURTTMPDIR/ || warning $(_gettext 'Unable to copy packages to %s directory' "$YAOURTTMPDIR")
  14.  
  15.  
RAW Paste Data
Top