Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
079861c0
Commit
079861c0
authored
Sep 08, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install chartist
parent
12837a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
debomatic-webui/scripts/install/download_external_libs.sh
debomatic-webui/scripts/install/download_external_libs.sh
+13
-0
No files found.
debomatic-webui/scripts/install/download_external_libs.sh
View file @
079861c0
...
@@ -37,6 +37,18 @@ get_tablesorter() {
...
@@ -37,6 +37,18 @@ get_tablesorter() {
cd
..
cd
..
}
}
get_chartist
()
{
VERSION
=
"0.1.11"
NAME
=
"chartist-js-
${
VERSION
}
"
if
[
-d
${
EXT_LIBS_DIR
}
/
${
NAME
}
]
;
then return
;
fi
ARCHIVE
=
v
${
VERSION
}
.zip
URL
=
"https://github.com/gionkunz/chartist-js/archive/
${
ARCHIVE
}
"
echo
"Downloading chartist-js
${
VERSION
}
..."
curl
-s
-O
-L
${
URL
}
&&
\
unzip
-q
${
ARCHIVE
}
&&
rm
${
ARCHIVE
}
}
if
[
!
-d
${
EXT_LIBS_DIR
}
]
;
then
mkdir
-p
${
EXT_LIBS_DIR
}
;
fi
if
[
!
-d
${
EXT_LIBS_DIR
}
]
;
then
mkdir
-p
${
EXT_LIBS_DIR
}
;
fi
TMP_DIR
=
"
`
mktemp
-d
`
"
TMP_DIR
=
"
`
mktemp
-d
`
"
...
@@ -45,6 +57,7 @@ cd ${TMP_DIR}
...
@@ -45,6 +57,7 @@ cd ${TMP_DIR}
get_jquery
get_jquery
get_bootstrap
get_bootstrap
get_tablesorter
get_tablesorter
get_chartist
if
[
"
`
ls
-1
`
"
!=
""
]
;
then
mv
*
${
EXT_LIBS_DIR
}
;
fi
if
[
"
`
ls
-1
`
"
!=
""
]
;
then
mv
*
${
EXT_LIBS_DIR
}
;
fi
cd
&&
rm
-r
${
TMP_DIR
}
cd
&&
rm
-r
${
TMP_DIR
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment