#!/bin/bash

if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
    set -x
fi
set -eu
set -o pipefail

install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

# migrate pt_pax flags to xt_pax
if [[ -a /usr/sbin/migrate-pax ]]; then
    /usr/sbin/migrate-pax -m
fi
