morpheus

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

commit 3ed9505ea4740eb65d56d502ec4fde6e1e91d570
parent a74259cf95e7acf82f067fb1d550f0e88ee5a565
Author: sin <sin@2f30.org>
Date:   Thu Sep  5 15:33:09 +0100

Don't extract if the package is already extracted

Makes it easy to modify a package and rebuild.

Diffstat:
pkgs/fs | 2+-
pkgs/mksh-R47 | 2+-
pkgs/sdhcp | 2+-
pkgs/sic | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pkgs/fs b/pkgs/fs @@ -6,7 +6,7 @@ wget -c $url -O src/$file # Unpack package pushd src -tar xzf $file +[ -d $pkg ] || tar xzf $file popd # Install package diff --git a/pkgs/mksh-R47 b/pkgs/mksh-R47 @@ -6,7 +6,7 @@ wget -c $url -O src/$file # Unpack package pushd src -tar xzf $file +[ -d mksh ] || tar xzf $file popd # Build package diff --git a/pkgs/sdhcp b/pkgs/sdhcp @@ -6,7 +6,7 @@ wget -c $url -O src/$file # Unpack package pushd src -tar xzf $file +[ -d $pkg ] || tar xzf $file popd # Build package diff --git a/pkgs/sic b/pkgs/sic @@ -6,7 +6,7 @@ wget -c $url -O src/$file # Unpack package pushd src -tar xzf $file +[ -d $pkg ] || tar xzf $file popd # Build package