mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
fix upgrade from 2.3.10~ynh1
ln: failed to create symbolic link './uploads': File exists
This commit is contained in:
parent
d6fa5113e2
commit
dd6ef485fd
1 changed files with 7 additions and 1 deletions
|
@ -364,7 +364,13 @@ mkdir -p "$final_path/tmp/sockets"
|
|||
(
|
||||
cd $final_path
|
||||
mkdir -p "public/forum"
|
||||
cd public/forum && ln -s ../uploads && ln -s ../backups
|
||||
cd public/forum
|
||||
if [ ! -L ./uploads ]; then
|
||||
ln -s ../uploads
|
||||
fi
|
||||
if [ ! -L ./backups ]; then
|
||||
ln -s ../backups
|
||||
fi
|
||||
)
|
||||
|
||||
# Set permissions to app files
|
||||
|
|
Loading…
Reference in a new issue