xbps-triggers: update to 0.101.

This commit is contained in:
Andrea Brancaleoni 2015-06-22 19:33:10 +02:00
parent ac7e38e644
commit 7b05c318d3
2 changed files with 6 additions and 3 deletions

View file

@ -29,14 +29,16 @@ run)
case "$TARGET" in
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}
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
update-binfmts --package ${PKGNAME} --install ${_bname} ${_bin} ${_args}
done
;;
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}
_bin="$1"; shift; _args="$@"; _bname="$(basename ${_bin})"
if [ -f /var/lib/binfmts/${_bname} ]; then
@ -56,3 +58,4 @@ esac
exit 0
# end
# end

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.100
version=0.101
revision=1
noarch=yes
bootstrap=yes