mirror of
https://github.com/YunoHost-Apps/penpot_ynh.git
synced 2024-09-03 19:56:56 +02:00
Fixed paths.
This commit is contained in:
parent
971edc910e
commit
14520cd6cc
1 changed files with 3 additions and 5 deletions
|
@ -70,7 +70,7 @@ pushd $install_dir/build/frontend
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir -p $install_dir/frontend
|
mkdir -p $install_dir/frontend
|
||||||
mv build/frontend/target/dist/* $install_dir/frontend
|
mv $install_dir/build/frontend/target/dist/* $install_dir/frontend
|
||||||
chown -R $app:www-data $install_dir/frontend
|
chown -R $app:www-data $install_dir/frontend
|
||||||
chmod -R 755 $install_dir/frontend
|
chmod -R 755 $install_dir/frontend
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ pushd $install_dir/build/backend
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir -p $install_dir/backend
|
mkdir -p $install_dir/backend
|
||||||
mv build/backend/target/dist/* $install_dir/backend
|
mv $install_dir/build/backend/target/dist/* $install_dir/backend
|
||||||
chown -R $app:$app $install_dir/backend
|
chown -R $app:$app $install_dir/backend
|
||||||
chmod -R 700 $install_dir/backend
|
chmod -R 700 $install_dir/backend
|
||||||
|
|
||||||
|
@ -105,12 +105,10 @@ pushd $install_dir/build/exporter
|
||||||
cp package.json target/;
|
cp package.json target/;
|
||||||
|
|
||||||
sed -i -re "s/\%version\%/$(ynh_app_upstream_version)/g" ./target/app.js;
|
sed -i -re "s/\%version\%/$(ynh_app_upstream_version)/g" ./target/app.js;
|
||||||
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir -p $install_dir/exporter
|
mkdir -p $install_dir/exporter
|
||||||
mv build/exporter/target/* $install_dir/exporter
|
mv $install_dir/build/exporter/target/* $install_dir/exporter
|
||||||
chown -R $app:$app $install_dir/exporter
|
chown -R $app:$app $install_dir/exporter
|
||||||
chmod -R 700 $install_dir/exporter
|
chmod -R 700 $install_dir/exporter
|
||||||
pushd $install_dir/exporter
|
pushd $install_dir/exporter
|
||||||
|
|
Loading…
Add table
Reference in a new issue