use sudo_cmd as needed
This commit is contained in:
parent
1dcb8d04a5
commit
f2ad6f127c
|
@ -159,8 +159,8 @@ $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 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
|
||||
$sudo_cmd rsync -a --ignore-existing $my_tmp/ $my_root/
|
||||
$sudo_cmd 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
|
||||
|
||||
# Change to admin perms
|
||||
|
|
Loading…
Reference in New Issue