summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-02 20:47:15 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-03 15:56:52 +0700
commit31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8 (patch)
tree23e14ee87fe96df91b4a11977f3913e5628ef322 /system
parent3aea18a9ca77304f1ee4464f499b02bed9288d80 (diff)
downloadslackbuilds-31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8.tar.gz
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>
Diffstat (limited to 'system')
-rw-r--r--system/system76-power/system76-power.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild
index 0064a6565a..cc0c7b50ec 100644
--- a/system/system76-power/system76-power.SlackBuild
+++ b/system/system76-power/system76-power.SlackBuild
@@ -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