1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-28 11:41:22 +00:00

Delete symlink before creating it

This commit is contained in:
sin 2013-09-06 10:59:40 +01:00
parent 99f234e993
commit 734c92dd53
2 changed files with 6 additions and 0 deletions

@ -18,6 +18,9 @@ mkdir -p $root/dev/shm
mkdir -p $root/devel/{include,lib,src}
mkdir -p $root/share/man
pushd $root/
if [ -e sbin ]; then
unlink sbin
fi
ln -s /bin sbin
popd

3
stage0

@ -14,6 +14,9 @@ mkdir -p $root/{bin,boot,dev,etc,home,root,var,share,sys,proc}
mkdir -p $root/dev/shm
mkdir -p $root/share/man
pushd $root/
if [ -e sbin ]; then
unlink sbin
fi
ln -s /bin sbin
popd