Update install.py
This commit is contained in:
@@ -16,6 +16,10 @@ linux_after_command = {
|
|||||||
'zsh': 'sudo chsh -s $(which zsh) $(whoami) && curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/local/bin && echo \'eval "$(oh-my-posh init zsh)"\' >> .zshrc'
|
'zsh': 'sudo chsh -s $(which zsh) $(whoami) && curl -s https://ohmyposh.dev/install.sh | sudo bash -s -- -d /usr/local/bin && echo \'eval "$(oh-my-posh init zsh)"\' >> .zshrc'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sh_packages = [
|
||||||
|
'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash'
|
||||||
|
]
|
||||||
|
|
||||||
os_type = platform.uname().system.lower()
|
os_type = platform.uname().system.lower()
|
||||||
|
|
||||||
is_linux = os_type == "linux"
|
is_linux = os_type == "linux"
|
||||||
@@ -60,3 +64,4 @@ if __name__ == "__main__":
|
|||||||
for p in rhel_packages: install(p)
|
for p in rhel_packages: install(p)
|
||||||
if is_linux:
|
if is_linux:
|
||||||
for p in linux_packages: install(p)
|
for p in linux_packages: install(p)
|
||||||
|
for c in sh_packages: os.system(c)
|
||||||
Reference in New Issue
Block a user