1
0
Fork 0
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:
whypsi 2017-07-27 13:53:11 +00:00
parent 98d7ee352c
commit e3bf01e5f9

View file

@ -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