mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-24 12:11:52 +00:00
Correct mistake in chcon path
This commit is contained in:
parent
eb7791b884
commit
b09631fcbf
@ -3,7 +3,7 @@ run_remote() {
|
||||
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
if [ -x /unr/bin/chcon ]; then
|
||||
if [ -x /usr/bin/chcon ]; then
|
||||
chcon system_u:object_r:bin_t:s0 $cmd
|
||||
fi
|
||||
shift
|
||||
|
@ -3,7 +3,7 @@ run_remote() {
|
||||
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
if [ -x /unr/bin/chcon ]; then
|
||||
if [ -x /usr/bin/chcon ]; then
|
||||
chcon system_u:object_r:bin_t:s0 $cmd
|
||||
fi
|
||||
shift
|
||||
|
@ -3,7 +3,7 @@ run_remote() {
|
||||
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
if [ -x /unr/bin/chcon ]; then
|
||||
if [ -x /usr/bin/chcon ]; then
|
||||
chcon system_u:object_r:bin_t:s0 $cmd
|
||||
fi
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user