use sudo_cmd as needed
This commit is contained in:
parent
b307a2bcf2
commit
11809030c6
|
@ -124,8 +124,8 @@ $sudo_cmd chown root:root $my_tmp/*
|
|||
$sudo_cmd chown root:root $my_tmp
|
||||
$sudo_cmd chmod 0755 $my_tmp
|
||||
# don't change permissions on /, /etc, etc
|
||||
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
|
||||
$sudo_cmd rsync -a --ignore-existing $my_tmp/ $my_root/
|
||||
$sudo_cmd 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
|
||||
|
||||
# Change to admin perms
|
||||
|
|
Loading…
Reference in New Issue