mirror of
https://github.com/YunoHost-Apps/piped_ynh.git
synced 2024-09-03 20:05:54 +02:00
Merge 752f5811d8
into a369e9427b
This commit is contained in:
commit
c463fcb873
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ popd
|
|||
|
||||
mv $install_dir/build/dist $install_dir
|
||||
pushd $install_dir/dist
|
||||
sed -i s/pipedapi.kavin.rocks/"$domain\\/api"/g assets/*
|
||||
ynh_replace_string --match_string="pipedapi\.kavin\.rocks" --replace_string="$domain\\/api" --target_file="assets/*"
|
||||
popd
|
||||
chown -R $app:www-data "$install_dir/dist"
|
||||
chmod -R 755 "$install_dir/dist"
|
||||
|
|
|
@ -71,7 +71,7 @@ then
|
|||
ynh_secure_remove --file="$install_dir/dist"
|
||||
mv $install_dir/build/dist $install_dir
|
||||
pushd $install_dir/dist
|
||||
sed -i s/pipedapi.kavin.rocks/"$domain\\/api"/g assets/*
|
||||
ynh_replace_string --match_string="pipedapi\.kavin\.rocks" --replace_string="$domain\\/api" --target_file="assets/*"
|
||||
popd
|
||||
chown -R $app:www-data "$install_dir/dist"
|
||||
chmod -R 755 "$install_dir/dist"
|
||||
|
|
Loading…
Add table
Reference in a new issue