Projects
Mega:24.03:SP1:Everything
google-droid-fonts
_service:tar_scm:getdroid.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:getdroid.sh of Package google-droid-fonts
#!/bin/bash #Try to get upstream latest files DATE=$(date -u +%Y%m%d) ARCHIVE="google-droid-fonts-$DATE" TMPDIR=$(mktemp -d --tmpdir=/var/tmp getdroid-XXXXXXXXXX) [ $? != 0 ] && exit 1 umask 022 pushd "$TMPDIR" git init git remote add -t HEAD origin https://android.googlesource.com/platform/frameworks/base.git git config core.sparseCheckout true cat > .git/info/sparse-checkout << EOF data/fonts/* !data/fonts/*ttf data/fonts/Droid* EOF git pull --depth=1 --no-tags origin HEAD mv data/fonts "$ARCHIVE" chmod -x "$ARCHIVE/*.ttf" tar -cvJf "$ARCHIVE.tar.xz" "$ARCHIVE" popd mv "$TMPDIR/$ARCHIVE.tar.xz" . rm -fr "$TMPDIR"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2