mirror of
https://github.com/YunoHost-Apps/penpot_ynh.git
synced 2024-09-03 19:56:56 +02:00
Fixed permissions?
This commit is contained in:
parent
3e1835b377
commit
ccf5bc336f
1 changed files with 3 additions and 2 deletions
|
@ -21,12 +21,13 @@ ynh_use_nodejs
|
||||||
ynh_setup_source --dest_dir="$install_dir/jdk" --source_id="jdk"
|
ynh_setup_source --dest_dir="$install_dir/jdk" --source_id="jdk"
|
||||||
export JAVA_HOME=$install_dir/jdk
|
export JAVA_HOME=$install_dir/jdk
|
||||||
|
|
||||||
|
chown -R $app:www-data "$install_dir"
|
||||||
tmp_dir=$(mktemp -d)
|
tmp_dir=$(mktemp -d)
|
||||||
|
|
||||||
pushd $tmp_dir
|
pushd $tmp_dir
|
||||||
curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh
|
curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh
|
||||||
chmod +x linux-install.sh
|
chmod +x linux-install.sh
|
||||||
ynh_exec_as $app ./linux-install.sh -p $install_dir/clojure
|
./linux-install.sh -p $install_dir/clojure
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_secure_remove --file=$tmp_dir
|
ynh_secure_remove --file=$tmp_dir
|
||||||
|
@ -42,7 +43,7 @@ ynh_script_progression --message="Setting up source files..."
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir/build"
|
ynh_setup_source --dest_dir="$install_dir/build"
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:$app "$install_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL APP
|
# INSTALL APP
|
||||||
|
|
Loading…
Add table
Reference in a new issue