mirror of
https://github.com/YunoHost-Apps/zeronet_ynh.git
synced 2024-09-03 17:46:12 +02:00
Delete symbolic link before making a new one.
Or it'll just create a symolic link _inside_ your symoblic link. Not useful.
This commit is contained in:
parent
002949c293
commit
7857579656
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ obtain_and_deploy_source() {
|
|||
check_file_integrity $src_file $src_checksum
|
||||
extract_archive $src_file $deploy_path
|
||||
|
||||
sudo rm $symlink_to_deploy_path
|
||||
sudo ln --symbolic --force $deploy_path $symlink_to_deploy_path
|
||||
|
||||
sudo chown $user: -LR $symlink_to_deploy_path
|
||||
|
|
Loading…
Add table
Reference in a new issue