Fixed it..
This commit is contained in:
parent
935758d6d6
commit
1804e81871
1 changed files with 43 additions and 43 deletions
18
docker.sh
18
docker.sh
|
@ -1,3 +1,11 @@
|
||||||
|
{
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# ─< Check if the given command exists silently >─────────────────────────────────────────
|
||||||
|
command_exists() {
|
||||||
|
command -v "$@" >/dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
# _arch() {
|
# _arch() {
|
||||||
# local err
|
# local err
|
||||||
# # run _install docker docker-compose --noconfirm
|
# # run _install docker docker-compose --noconfirm
|
||||||
|
@ -40,14 +48,6 @@
|
||||||
# fi
|
# fi
|
||||||
# }
|
# }
|
||||||
|
|
||||||
{
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# ─< Check if the given command exists silently >─────────────────────────────────────────
|
|
||||||
command_exists() {
|
|
||||||
command -v "$@" >/dev/null 2>&1
|
|
||||||
}
|
|
||||||
|
|
||||||
getImports() {
|
getImports() {
|
||||||
local url="$1"
|
local url="$1"
|
||||||
local import="$(mktemp)"
|
local import="$(mktemp)"
|
||||||
|
@ -115,9 +115,9 @@
|
||||||
[debian]="depsDebian"
|
[debian]="depsDebian"
|
||||||
[ubuntu]="depsUbuntu"
|
[ubuntu]="depsUbuntu"
|
||||||
[fedora]="depsFedora"
|
[fedora]="depsFedora"
|
||||||
|
[opensuse]="depsOpensuse"
|
||||||
[arch]="depsArch"
|
[arch]="depsArch"
|
||||||
[alpine]="depsAlpine"
|
[alpine]="depsAlpine"
|
||||||
[opensuse]="depsOpensuse"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# INFO:
|
# INFO:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue