mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
feat: add python installer
This commit is contained in:
18
python3/install.sh
Normal file
18
python3/install.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# title: Python 3 (alias for python)
|
||||
# homepage: https://webinstall.dev/python
|
||||
# tagline: Alias for https://webinstall.dev/python
|
||||
# alias: python
|
||||
# description: |
|
||||
# See https://webinstall.dev/python
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
function __redirect_alias_python() {
|
||||
echo "'python@${WEBI_TAG:-stable}' is an alias for 'python@${WEBI_VERSION:-}'"
|
||||
WEBI_HOST=${WEBI_HOST:-"https://webinstall.dev"}
|
||||
curl -fsSL "$WEBI_HOST/python@${WEBI_VERSION:-}" | bash
|
||||
}
|
||||
|
||||
__redirect_alias_python
|
||||
Reference in New Issue
Block a user