From 940fb0069626f3ae20fd7241b5f35b7925222302 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 11 Feb 2023 18:27:46 +0900 Subject: system/ttf-open-sans: Fix github download handling. https://slackbuilds.org/GITHUB_URLs.txt This avoids having differently named zip files based on whether the client respects content disposition headers or not. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/ttf-open-sans/ttf-open-sans.SlackBuild | 2 +- system/ttf-open-sans/ttf-open-sans.info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'system/ttf-open-sans') diff --git a/system/ttf-open-sans/ttf-open-sans.SlackBuild b/system/ttf-open-sans/ttf-open-sans.SlackBuild index 54200534fbcf..b3ddb9c5eeca 100644 --- a/system/ttf-open-sans/ttf-open-sans.SlackBuild +++ b/system/ttf-open-sans/ttf-open-sans.SlackBuild @@ -53,7 +53,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/${SRCVER}.zip +unzip $CWD/${SRCNAM}-${SRCVER}.zip mv ${SRCNAM}-${SRCVER} $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . diff --git a/system/ttf-open-sans/ttf-open-sans.info b/system/ttf-open-sans/ttf-open-sans.info index 0d2ca58636d0..01fec4aaeb24 100644 --- a/system/ttf-open-sans/ttf-open-sans.info +++ b/system/ttf-open-sans/ttf-open-sans.info @@ -1,7 +1,7 @@ PRGNAM="ttf-open-sans" VERSION="20210927" HOMEPAGE="https://www.opensans.com/" -DOWNLOAD="https://github.com/googlefonts/opensans/archive/27d060e1aad6886daeda67629ee28189f795f534.zip" +DOWNLOAD="https://github.com/googlefonts/opensans/archive/27d060e1aad6886daeda67629ee28189f795f534/opensans-27d060e1aad6886daeda67629ee28189f795f534.zip" MD5SUM="c780a4557a14c7786b147ff111a973aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -- cgit v1.2.3