mirror of
https://github.com/YunoHost-Apps/piped_ynh.git
synced 2024-09-03 20:05:54 +02:00
Fixup path
This commit is contained in:
parent
a6a614deea
commit
9a25626903
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ popd
|
||||||
|
|
||||||
mv $install_dir/build/dist $install_dir
|
mv $install_dir/build/dist $install_dir
|
||||||
pushd $install_dir/dist
|
pushd $install_dir/dist
|
||||||
|
domainandpath="$domain$path"
|
||||||
|
domainandpath=${domainandpath%%+(/)}
|
||||||
sed -i s/pipedapi.kavin.rocks/"$domain\/$path\/api"/g assets/*
|
sed -i s/pipedapi.kavin.rocks/"$domain\/$path\/api"/g assets/*
|
||||||
popd
|
popd
|
||||||
chown -R $app:www-data "$install_dir/dist"
|
chown -R $app:www-data "$install_dir/dist"
|
||||||
|
|
Loading…
Add table
Reference in a new issue