xbps-triggers: update to 0.101.
This commit is contained in:
parent
ac7e38e644
commit
7b05c318d3
2 changed files with 6 additions and 3 deletions
|
@ -29,14 +29,16 @@ run)
|
||||||
|
|
||||||
case "$TARGET" in
|
case "$TARGET" in
|
||||||
post-install)
|
post-install)
|
||||||
echo "${binfmts}" | while read line; do
|
echo "$binfmts" | tr '\' '&' 2> /dev/null | while read line; do
|
||||||
|
line=$(echo $line | tr '&' '\' 2> /dev/null)
|
||||||
set -- ${line}
|
set -- ${line}
|
||||||
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
|
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
|
||||||
update-binfmts --package ${PKGNAME} --install ${_bname} ${_bin} ${_args}
|
update-binfmts --package ${PKGNAME} --install ${_bname} ${_bin} ${_args}
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
pre-remove)
|
pre-remove)
|
||||||
echo "${binfmts}" | while read line; do
|
echo "$binfmts" | tr '\' '&' 2> /dev/null | while read line; do
|
||||||
|
line=$(echo $line | tr '&' '\' 2> /dev/null)
|
||||||
set -- ${line}
|
set -- ${line}
|
||||||
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
|
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
|
||||||
if [ -f /var/lib/binfmts/${_bname} ]; then
|
if [ -f /var/lib/binfmts/${_bname} ]; then
|
||||||
|
@ -56,3 +58,4 @@ esac
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
# end
|
# end
|
||||||
|
# end
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.100
|
version=0.101
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Reference in a new issue