xbps-src: append /usr/local/{s,}bin to PATH in INSTALL/REMOVE scripts.

This commit is contained in:
Juan RP 2011-07-01 16:15:59 +02:00
parent d05d16ad3d
commit 6227b9f1f7

View file

@ -1,5 +1,5 @@
#- #-
# Copyright (c) 2009-2010 Juan Romero Pardines. # Copyright (c) 2009-2011 Juan Romero Pardines.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -63,7 +63,7 @@ xbps_write_metadata_scripts_pkg()
# not possible to chroot(3). # not possible to chroot(3).
# #
export PATH="/bin:/sbin:/usr/bin:/usr/sbin" export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
TRIGGERSDIR="./var/db/xbps/triggers" TRIGGERSDIR="./var/db/xbps/triggers"
ACTION="\$1" ACTION="\$1"