system/system76-power: Fix github tarball handling.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-03-02 20:47:15 +13:00 committed by Willy Sudiarto Raharjo
parent 3aea18a9ca
commit 31d40d5ec2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -132,6 +132,9 @@ mkdir vendor
CRATE_FILE=$CWD/pop-os-sysfs-class-0.1.3-1-gab63e7f.tar.gz
fi
mkdir $dep-$ver
if [ "$dep" = "sysfs-class" ] ; then
CRATE_FILE=$CWD/pop-os-$dep-$ver-1-gab63e7f.tar.gz
fi
tar xvf $CRATE_FILE -C $dep-$ver --strip-components=1
cksum="null"
else