diff options
Diffstat (limited to 'system/noto-fonts/noto-fonts.SlackBuild')
-rw-r--r-- | system/noto-fonts/noto-fonts.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/noto-fonts/noto-fonts.SlackBuild b/system/noto-fonts/noto-fonts.SlackBuild index 524f1f4c6cadb..406965d9a2ea0 100644 --- a/system/noto-fonts/noto-fonts.SlackBuild +++ b/system/noto-fonts/noto-fonts.SlackBuild @@ -41,8 +41,12 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/v$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf} +rm -rf $PRGNAM-$SRCVER $PRGNAM-$VERSION +if [ -f $CWD/v$SRCVER.tar.gz ]; then + tar xvf $CWD/v$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf} +else + tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf} +fi mv $PRGNAM-$SRCVER $PRGNAM-$VERSION cd $PRGNAM-$VERSION chown -R root:root . |