diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-02 20:47:15 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:52 +0700 |
commit | 31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8 (patch) | |
tree | 23e14ee87fe96df91b4a11977f3913e5628ef322 /system/system76-power | |
parent | 3aea18a9ca77304f1ee4464f499b02bed9288d80 (diff) |
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/system76-power')
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index 0064a6565a3d..cc0c7b50ec99 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 |