make use of logging function more consistent
This commit is contained in:
parent
a049b20836
commit
7e9c568ea9
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
from src.constants import home_dir
|
||||
from src.util import paru_install, command_exists
|
||||
from src.setup.system import zsh
|
||||
from src import log
|
||||
from src.log import log
|
||||
|
||||
from os.path import isdir
|
||||
from os import system
|
||||
|
@ -26,16 +26,16 @@ def setup():
|
|||
|
||||
paru_install("nvm")
|
||||
|
||||
log.log("Installing Node.JS LTS")
|
||||
log("Installing Node.JS LTS")
|
||||
system("source /usr/share/nvm/init-nvm.sh; nvm install --lts")
|
||||
|
||||
# todo: add "source /usr/share/nvm/init-nvm.sh" to ~/.zshrc
|
||||
|
||||
log.log("Installing npm")
|
||||
log("Installing npm")
|
||||
system("npm install --global npm")
|
||||
|
||||
log.log("Installing pnpm")
|
||||
log("Installing pnpm")
|
||||
system("npm install --global pnpm")
|
||||
|
||||
log.log("Installing yarn")
|
||||
log("Installing yarn")
|
||||
system("npm install --global yarn")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue