-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·43 lines (36 loc) · 4.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env bash
#<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>get.bpkg.sh</title></head><body>: bpkg(1) installer <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" /><link rel="stylesheet" href="https://unpkg.com/@highlightjs/[email protected]/styles/default.min.css"><script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/shell.min.js"></script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/bash.min.js"></script><script> hljs.initHighlightingOnLoad()</script><style>body { font-family: monospace; background: rgba(245, 245, 245, 1); } footer { font-size: 0.65rem; } a { color: inherit; } a[name] { text-decoration: none; } pre, code { border-radius: 4px; font-size: 1.1rem; color: #F0F0F0 !important; background: rgb(11 12 14) !important; } .github-fork-ribbon:before { background-color: rgb(11 12 14); } </style> <a class="github-fork-ribbon" href="https://github.com/bpkg/bpkg" data-ribbon="Contribute on GitHub" title="Contribute on GitHub">Contribute on GitHub</a> <h2>
## get.bpkg.sh</h2><span>Use this self hosted script to install the <code>bpkg(1)</code> bash package manager.</span><h3>
### <a name="usage" href="#usage">USAGE</a></h2><pre><code code="shell">curl -Lo- get.bpkg.sh | bash</code></pre><h3>
### <a name="code" href="#code">CODE</a></h2><pre><code code="bash">
##
# `bpkg(1)` installer script that fetches the canonical `setup.sh` script and runs it
# in the calling context.
##
declare GIT_REMOTE=${GIT_REMOTE:-"https://raw.githubusercontent.com"}
declare GIT_BRANCH=${GIT_BRANCH:-"1.1.4"}
declare SETUP_URL=${SETUP_URL:-""}
if [ -z "$SETUP_URL" ]; then
if [ -n "$GIT_BRANCH_EMPTY" ]; then
declare SETUP_URL="$GIT_REMOTE/bpkg/bpkg/setup.sh"
else
declare SETUP_URL="$GIT_REMOTE/bpkg/bpkg/$GIT_BRANCH/setup.sh"
fi
fi
if which curl >/dev/null 2>&1; then
curl -Lo- "$@" "$SETUP_URL" | bash
elif which wget >/dev/null 2>&1; then
wget -O - "$SETUP_URL" "$@" | bash
elif which aria2c >/dev/null 2>&1; then
if aria2c -o bpkg-setup.sh "$SETUP_URL" "$@"; then
bash bpkg-setup.sh
fi
elif [ -x "$REQUEST_FALLBACK_COMMAND" ]; then
"$REQUEST_FALLBACK_COMMAND" "$@" "$SETUP_URL"
else
echo >&2 "error: Could not fetch '$SETUP_URL'"
exit 1
fi
exit $?
## See https://github.com/bpkg/bpkg for more information about the bpkg(1) command line tool. </code></pre> <h2>### <a name="tags" href="#tags">TAGS</a></h2><ul><li><a href=/1.1.4>1.1.4</a></li><li><a href=/1.1.3>1.1.3</a></li><li><a href=/1.1.2>1.1.2</a></li><li><a href=/1.1.1>1.1.1</a></li><li><a href=/1.1.0>1.1.0</a></li><li><a href=/1.0.25>1.0.25</a></li><li><a href=/1.0.24>1.0.24</a></li><li><a href=/1.0.23>1.0.23</a></li><li><a href=/1.0.22>1.0.22</a></li><li><a href=/1.0.21>1.0.21</a></li><li><a href=/1.0.20>1.0.20</a></li><li><a href=/1.0.19>1.0.19</a></li><li><a href=/1.0.18>1.0.18</a></li><li><a href=/1.0.17>1.0.17</a></li><li><a href=/1.0.16>1.0.16</a></li><li><a href=/1.0.15>1.0.15</a></li><li><a href=/1.0.14>1.0.14</a></li><li><a href=/1.0.13>1.0.13</a></li><li><a href=/1.0.12>1.0.12</a></li><li><a href=/1.0.11>1.0.11</a></li><li><a href=/1.0.10>1.0.10</a></li><li><a href=/1.0.9>1.0.9</a></li><li><a href=/1.0.8>1.0.8</a></li><li><a href=/1.0.7>1.0.7</a></li><li><a href=/1.0.6>1.0.6</a></li><li><a href=/1.0.5>1.0.5</a></li><li><a href=/1.0.4>1.0.4</a></li><li><a href=/1.0.3>1.0.3</a></li><li><a href=/1.0.2>1.0.2</a></li><li><a href=/1.0.1>1.0.1</a></li><li><a href=/1.0.0>1.0.0</a></li><li><a href=/0.3.2>0.3.2</a></li><li><a href=/0.3.1>0.3.1</a></li><li><a href=/0.3.0>0.3.0</a></li><li><a href=/0.2.9>0.2.9</a></li><li><a href=/0.2.8>0.2.8</a></li><li><a href=/0.2.7>0.2.7</a></li><li><a href=/0.2.6>0.2.6</a></li><li><a href=/0.2.5>0.2.5</a></li><li><a href=/0.2.4>0.2.4</a></li><li><a href=/0.2.3>0.2.3</a></li><li><a href=/0.2.2>0.2.2</a></li><li><a href=/0.2.1>0.2.1</a></li><li><a href=/0.2.0>0.2.0</a></li><li><a href=/0.1.0>0.1.0</a></li><li><a href=/0.0.9>0.0.9</a></li><li><a href=/0.0.8>0.0.8</a></li><li><a href=/0.0.7>0.0.7</a></li><li><a href=/0.0.6>0.0.6</a></li><li><a href=/0.0.5>0.0.5</a></li><li><a href=/0.0.4>0.0.4</a></li><li><a href=/0.0.3>0.0.3</a></li><li><a href=/0.0.2>0.0.2</a></li></ul> <footer>
#### Copyright (c) 2014-2022 <a href="https://bpkg.sh">bpkg.sh</a> (<a href="https://github.com/bpkg/bpkg">github.com/bpkg/bpkg</a>) #### </footer></body></html>