If I tell makepkg to install missing deps with pacman and then tell pacman not to install, makepkg keeps going. So I made --noconfirm a default $PACMAN_OPTS. Patch is below. ~ Jamie / yankees26 Signed-off-by: James Rosten <seinfeld90@gmail.com> Index: scripts/makepkg =================================================================== RCS file: /home/cvs-pacman/pacman-lib/scripts/makepkg,v retrieving revision 1.60 diff -u -r1.60 makepkg --- OLD/scripts/makepkg 18 Mar 2007 23:09:50 -0000 1.60 +++ NEW/scripts/makepkg 18 Mar 2007 23:11:58 -0000 @@ -50,7 +50,7 @@ REPKG=0 LOGGING=0 -PACMAN_OPTS= +PACMAN_OPTS="--noconfirm" #determine if we are running with fakeroot if [ "$1" = "-F" ]; then @@ -376,7 +376,6 @@ echo echo "These options can be passed to pacman:" echo - echo " --noconfirm Do not ask for confirmation when resolving dependencies" echo " --noprogressbar Do not show a progress bar when downloading files" echo echo "If -p is not specified, makepkg will look for '$BUILDSCRIPT'" @@ -411,7 +410,6 @@ while [ "$#" -ne "0" ]; do case $1 in # pacman - --noconfirm) PACMAN_OPTS="$PACMAN_OPTS --noconfirm" ;; --noprogressbar) PACMAN_OPTS="$PACMAN_OPTS --noprogressbar" ;; # makepkg --clean) CLEANUP=1 ;;
On 3/18/07, James Rosten <seinfeld90@gmail.com> wrote:
If I tell makepkg to install missing deps with pacman and then tell pacman not to install, makepkg keeps going. So I made --noconfirm a default $PACMAN_OPTS.
Patch is below.
Fixed in a slightly different way. See one of the makepkg commits tonight. -Dan
participants (2)
-
Dan McGee
-
James Rosten