use sudo_cmd as needed

This commit is contained in:
AJ ONeal 2017-11-07 16:19:40 -07:00
parent b307a2bcf2
commit 11809030c6
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ $sudo_cmd chown root:root $my_tmp/*
$sudo_cmd chown root:root $my_tmp $sudo_cmd chown root:root $my_tmp
$sudo_cmd chmod 0755 $my_tmp $sudo_cmd chmod 0755 $my_tmp
# don't change permissions on /, /etc, etc # don't change permissions on /, /etc, etc
rsync -a --ignore-existing $my_tmp/ $my_root/ $sudo_cmd 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_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
# Change to admin perms # Change to admin perms