Remove CWD as first argument to INSTALL/REMOVE scripts, it's unneeded.
--HG-- extra : convert_revision : ce8d9cbdb0a83748304ba25e53950385a9442b3f
This commit is contained in:
parent
32e81e7555
commit
e0ece941e0
|
@ -42,21 +42,21 @@ xbps_write_metadata_scripts_pkg()
|
||||||
#
|
#
|
||||||
# Generic INSTALL/REMOVE script.
|
# Generic INSTALL/REMOVE script.
|
||||||
#
|
#
|
||||||
# \$1 = cwd
|
# \$1 = action
|
||||||
# \$2 = action
|
# \$2 = pkgname
|
||||||
# \$3 = pkgname
|
# \$3 = version
|
||||||
# \$4 = version
|
|
||||||
#
|
#
|
||||||
# Note that paths must be relative to CWD, to avoid calling
|
# Note that paths must be relative to CWD, to avoid calling
|
||||||
# host commands.
|
# host commands if /bin/sh (dash) is not installed and it's
|
||||||
|
# not possible to chroot(3).
|
||||||
#
|
#
|
||||||
|
|
||||||
export PATH="./bin:./sbin:./usr/bin:./usr/sbin"
|
export PATH="./bin:./sbin:./usr/bin:./usr/sbin"
|
||||||
|
|
||||||
TRIGGERSDIR="./var/db/xbps/triggers"
|
TRIGGERSDIR="./var/db/xbps/triggers"
|
||||||
ACTION="\$2"
|
ACTION="\$1"
|
||||||
PKGNAME="\$3"
|
PKGNAME="\$2"
|
||||||
VERSION="\$4"
|
VERSION="\$3"
|
||||||
|
|
||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue