Create a login page
This commit is contained in:
parent
062a749d59
commit
db8cb0efff
7 changed files with 170 additions and 3 deletions
17
app/dl_bootstrap.sh
Executable file
17
app/dl_bootstrap.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION=5.3.0-alpha3
|
||||
URL=https://github.com/twbs/bootstrap/releases/download/v${VERSION}/bootstrap-${VERSION}-dist.zip
|
||||
|
||||
if [[ ! -d "$TRUNK_DIST_DIR/bootstrap" ]]; then
|
||||
cd "$TRUNK_STAGING_DIR" || {
|
||||
echo "Can't cd to staging directory"
|
||||
exit 1
|
||||
}
|
||||
wget "$URL"
|
||||
unzip bootstrap-*.zip
|
||||
rm bootstrap-*.zip
|
||||
mv bootstrap-* bootstrap
|
||||
else
|
||||
cp -r "$TRUNK_DIST_DIR/bootstrap" "$TRUNK_STAGING_DIR"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue