don't change existing files and folders

This commit is contained in:
AJ ONeal 2017-11-07 15:01:27 -07:00
parent 9707402e31
commit 485f8ce60c
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ source ./installer/my-user-my-group.sh
echo "User $my_user Group $my_group" echo "User $my_user Group $my_group"
$sudo_cmd chown -R $my_user:$my_group $my_tmp $sudo_cmd chown -R $my_user:$my_group $my_tmp
rsync -a $my_tmp/ $my_root/ $sudo_cmd chmod 0755 $my_tmp
rsync -a --ignore-existing $my_tmp/ $my_root/
rsync -a --ignore-existing $my_app_dist/etc/$my_app_name/$my_app_name.yml $my_root/etc/$my_app_name/$my_app_name.yml rsync -a --ignore-existing $my_app_dist/etc/$my_app_name/$my_app_name.yml $my_root/etc/$my_app_name/$my_app_name.yml
source ./installer/install-system-service.sh source ./installer/install-system-service.sh