app: Add bootstrap icons
This commit is contained in:
parent
12fc86492d
commit
4d991ead3e
4 changed files with 35 additions and 10 deletions
17
app/dl_bootstrap_icons.sh
Executable file
17
app/dl_bootstrap_icons.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION=1.10.5
|
||||
URL=https://github.com/twbs/icons/releases/download/v${VERSION}/bootstrap-icons-${VERSION}.zip
|
||||
|
||||
if [[ ! -d "$TRUNK_DIST_DIR/bootstrap-icons" ]]; then
|
||||
cd "$TRUNK_STAGING_DIR" || {
|
||||
echo "Can't cd to staging directory"
|
||||
exit 1
|
||||
}
|
||||
wget "$URL"
|
||||
unzip bootstrap-icons-$VERSION.zip
|
||||
rm bootstrap-icons-$VERSION.zip
|
||||
mv bootstrap-icons-$VERSION bootstrap-icons
|
||||
else
|
||||
cp -r "$TRUNK_DIST_DIR/bootstrap-icons" "$TRUNK_STAGING_DIR"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue