morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 734c92dd53051b77115dca8bf9af72925fcf035e
parent 99f234e993c484882944d2ab31bad68865f9f09b
Author: sin <sin@2f30.org>
Date:   Fri,  6 Sep 2013 10:59:40 +0100

Delete symlink before creating it

Diffstat:
Mpkgbuild | 3+++
Mstage0 | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pkgbuild b/pkgbuild @@ -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 diff --git a/stage0 b/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