github.com/andresbott/yamlfmt@v0.1.0/zarf/postinstall.sh (about)

     1  #!/bin/bash
     2  # post install  script
     3  
     4  
     5  # Declare an array of string with type
     6  declare -a exec=(
     7  "/usr/bin/yamlfmt"
     8  )
     9  
    10  # Iterate the string array using for loop
    11  for item in ${exec[@]}; do
    12     chown root:root "$item"
    13     chmod 755  "$item"
    14  done
    15