From 485f8ce60ca1737649e465bff0a92ce5ea530b76 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 7 Nov 2017 15:01:27 -0700 Subject: [PATCH] don't change existing files and folders --- installer/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/install.sh b/installer/install.sh index 54fe028..9180f0d 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -157,7 +157,8 @@ source ./installer/my-user-my-group.sh echo "User $my_user Group $my_group" $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 source ./installer/install-system-service.sh