mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2024-12-22 19:49:21 +00:00
later
This commit is contained in:
parent
c163ac2ce4
commit
8c50076b09
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,12 @@ detect_os_arch() {
|
||||||
UPDATE="sudo pacman -Syu"
|
UPDATE="sudo pacman -Syu"
|
||||||
DEPENDENCY="curl python-pipenv gnupg pkgconf base-devel"
|
DEPENDENCY="curl python-pipenv gnupg pkgconf base-devel"
|
||||||
$green"\n\nDetected Arch Linux";$nocolor
|
$green"\n\nDetected Arch Linux";$nocolor
|
||||||
|
elif type -P apk > /dev/null; then
|
||||||
|
# Alpine Linux
|
||||||
|
INSTALL="sudo apk add"
|
||||||
|
UPDATE="sudo apk update"
|
||||||
|
DEPENDENCY="py3-virtualenv python3-dev gnupg gcc musl-dev"
|
||||||
|
$green"\nDetected Alpine Linux";$nocolor
|
||||||
else
|
else
|
||||||
$red"\nFailed to detect OS. Unsupported or unknown distribution.\nInstall Failed.\n";$nocolor
|
$red"\nFailed to detect OS. Unsupported or unknown distribution.\nInstall Failed.\n";$nocolor
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue