mirror of
https://github.com/YunoHost-Apps/zeronet_ynh.git
synced 2024-09-03 17:46:12 +02:00
Fixes removal of symbolic link
This commit is contained in:
parent
98d7ee352c
commit
e3bf01e5f9
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ obtain_and_deploy_source() {
|
||||||
check_file_integrity $src_file $src_checksum
|
check_file_integrity $src_file $src_checksum
|
||||||
extract_archive $src_file $deploy_path
|
extract_archive $src_file $deploy_path
|
||||||
|
|
||||||
sudo rm $symlink_to_deploy_path
|
sudo rm -f $symlink_to_deploy_path
|
||||||
sudo ln --symbolic --force $deploy_path $symlink_to_deploy_path
|
sudo ln --symbolic --force $deploy_path $symlink_to_deploy_path
|
||||||
|
|
||||||
sudo chown $user: -LR $symlink_to_deploy_path
|
sudo chown $user: -LR $symlink_to_deploy_path
|
||||||
|
|
Loading…
Reference in a new issue