mirror of
https://github.com/YunoHost-Apps/calckey_ynh.git
synced 2024-09-03 18:16:18 +02:00
Update restore
This commit is contained in:
parent
a4c866cd1c
commit
6c5f4d2a9f
1 changed files with 4 additions and 2 deletions
|
@ -34,10 +34,12 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
# REINSTALL PNPM
|
# REINSTALL PNPM
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reinstalling pnpm..." --weight=1
|
ynh_script_progression --message="Reinstalling pnpm + rust..." --weight=1
|
||||||
|
|
||||||
# Define and install pnpm
|
# Define and install pnpm + rust
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
|
curl https://sh.rustup.rs -sSf | ynh_exec_warn_less ynh_exec_as $app 'sh -s -- -y'
|
||||||
|
export PATH="$install_dir/.cargo/bin:$PATH"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
corepack enable
|
corepack enable
|
||||||
corepack prepare pnpm@latest --activate
|
corepack prepare pnpm@latest --activate
|
||||||
|
|
Loading…
Add table
Reference in a new issue