diff options
Diffstat (limited to 'corepkgs/channels')
-rw-r--r-- | corepkgs/channels/unpack.sh.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/corepkgs/channels/unpack.sh.in b/corepkgs/channels/unpack.sh.in index 1be4a39a1d9c..b1119f937cd3 100644 --- a/corepkgs/channels/unpack.sh.in +++ b/corepkgs/channels/unpack.sh.in @@ -8,9 +8,15 @@ inputs=($inputs) for ((n = 0; n < ${#inputs[*]}; n += 2)); do channelName=${inputs[n]} channelTarball=${inputs[n+1]} + echo "unpacking channel $channelName" + @bunzip2@ < $channelTarball | @tar@ xf - + if test -e */channel-name; then + channelName="$(@coreutils@/cat */channel-name)" + fi + nr=1 attrName=$(echo $channelName | @tr@ -- '- ' '__') dirName=$attrName |