fix dirname expansion

This commit is contained in:
AJ ONeal 2017-11-07 16:06:43 -07:00
parent 0e1437bcd7
commit 4ffad8d3c3
1 changed files with 1 additions and 4 deletions

View File

@ -122,11 +122,8 @@ echo "User $my_user Group $my_group"
$sudo_cmd chown -R $my_user:$my_group $my_tmp/*
$sudo_cmd chown root:root $my_tmp/*
$sudo_cmd chown root:root $my_tmp
# don't even read $my_tmp/
# don't change permissions on /, /etc, etc
for my_dir in $my_tmp/*; do
rsync -a --ignore-existing $my_dir/ $my_root/$my_dir/
done
rsync -a --ignore-existing $my_tmp/ $my_root/
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
source ./installer/install-system-service.sh