fix dirname expansion
This commit is contained in:
parent
0e1437bcd7
commit
4ffad8d3c3
|
@ -122,11 +122,8 @@ 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/*
|
||||||
$sudo_cmd chown root:root $my_tmp/*
|
$sudo_cmd chown root:root $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
|
# don't change permissions on /, /etc, etc
|
||||||
for my_dir in $my_tmp/*; do
|
rsync -a --ignore-existing $my_tmp/ $my_root/
|
||||||
rsync -a --ignore-existing $my_dir/ $my_root/$my_dir/
|
|
||||||
done
|
|
||||||
rsync -a --ignore-existing $my_app_dist/etc/$my_name/$my_name.yml $my_root/etc/$my_name/$my_name.yml
|
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
|
source ./installer/install-system-service.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue