1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update _common.sh

This commit is contained in:
frju365 2017-07-28 20:12:02 +02:00 committed by GitHub
parent 9d83186382
commit d685671666

View file

@ -331,7 +331,7 @@ ynh_install_nodejs () {
sudo env "PATH=$PATH" n $nodejs_version sudo env "PATH=$PATH" n $nodejs_version
# Use the real installed version. Sometimes slightly different # Use the real installed version. Sometimes slightly different
nodejs_version=$(node --version | cut -c2-) # nodejs_version=$(node --version | cut -c2-)
# Store the ID of this app and the version of node requested for it # Store the ID of this app and the version of node requested for it
echo "$YNH_APP_ID:$nodejs_version" | sudo tee --append "$n_install_dir/ynh_app_version" echo "$YNH_APP_ID:$nodejs_version" | sudo tee --append "$n_install_dir/ynh_app_version"