Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 29th, 2011  |  syntax: Diff  |  size: 0.67 KB  |  views: 208  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data