1
0
Fork 0
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:
oufmilo 2023-05-08 00:01:57 +02:00 committed by GitHub
parent a4c866cd1c
commit 6c5f4d2a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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