mmdebstrap/hooks/setup00-merged-usr.sh

11 lines
122 B
Bash
Raw Normal View History

#!/bin/sh
set -exu
rootdir="$1"
for d in bin sbin lib; do
ln -s usr/$d "$rootdir/$d"
mkdir -p "$rootdir/usr/$d"
done