dot

packages and services management
Log | Files | Refs | README

commit 696b124c2a8713c5e8b18310b4b8a05d618673ce
parent faffa6aa5a01b21dfc49ccfb4b1aa355f15e42e0
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat, 19 Aug 2017 11:07:47 +0200

pkg/bin/pkg-tar: typo

Diffstat:
Mpkg/bin/pkg-tar | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/bin/pkg-tar b/pkg/bin/pkg-tar @@ -13,7 +13,7 @@ esac | tar -xf - if [ "$(ls "$ROOT/pkg/$1" | wc -l | tr -cd 0-9)" = 1 ] then - dir=$(ls "$ROOT/pkg/$1") + dir=$(ls "$ROOT/src/$1") find "$ROOT/src/$1" -mindepth 2 -maxdepth 2 \ -exec mv {} "$ROOT/src/$1" ';' rmdir "$ROOT/src/$1/$dir"