1 # This setup hook, for each output, moves everything in $output/sbin
2 # to $output/bin, and replaces $output/sbin with a symlink to
5 fixupOutputHooks
+=(_moveSbin
)
8 if [ "${dontMoveSbin-}" = 1 ]; then return; fi
9 if [ ! -e "$prefix/sbin" -o -L "$prefix/sbin" ]; then return; fi
10 echo "moving $prefix/sbin/* to $prefix/bin"
13 for i
in $prefix/sbin
/*; do
18 ln -s bin
$prefix/sbin