FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
textpattern/.github/get-default-theme.sh at dev · the-cc-dev/textpattern · GitHub
the-cc-dev
/
textpattern
Public
forked from
textpattern/textpattern
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
textpattern
/
.github
/
get-default-theme.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (13 loc) · 436 Bytes
Breadcrumbs
textpattern
/
.github
/
get-default-theme.sh
Copy path
File metadata and controls
17 lines (13 loc) · 436 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!
/bin/sh
URL=
"
https://codeload.github.com
"
;
AUTHOR=
"
textpattern
"
;
REPO=
"
textpattern-default-theme
"
;
EXTRACT=
"
textpattern/setup/themes
"
;
TAG=
"
master
"
;
if
[
!
-z
"
$1
"
]
;
then
TAG=
"
$1
"
;
fi
echo
"
Get repo:
$REPO
::
$TAG
"
;
echo
"
-------------------------------------------------------------------------------
"
;
rm -rf
$EXTRACT
/four-point
*
;
curl
$URL
/
$AUTHOR
/
$REPO
/tar.gz/
$TAG
|
tar xz --strip=2 --directory=
$EXTRACT
$REPO
-
$TAG
/dist
Back
|
FazBrowse Home
|
New Git URL