Add support to set automatic install flag for srcpkgs.
--HG-- extra : convert_revision : fa0e103ce44a4758858124ecd63aea0dec400720
This commit is contained in:
parent
a2e9f7de29
commit
028cacdd2a
5 changed files with 31 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
#-
|
||||
# Copyright (c) 2008 Juan Romero Pardines.
|
||||
# Copyright (c) 2008-2009 Juan Romero Pardines.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -30,6 +30,7 @@ install_pkg()
|
|||
{
|
||||
local pkg=
|
||||
local curpkgn="$1"
|
||||
local automatic="$2"
|
||||
local cdestdir=
|
||||
local cur_tmpl="$XBPS_TEMPLATESDIR/$curpkgn/template"
|
||||
|
||||
|
@ -117,7 +118,7 @@ install_pkg()
|
|||
#
|
||||
if [ -z "$install_destdir_target" ]; then
|
||||
. $XBPS_SHUTILSDIR/stow_funcs.sh
|
||||
stow_pkg $pkg
|
||||
stow_pkg $pkg $automatic
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue