My configuration files for Debian/Ubuntu applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
211 B

  1. ensure_tpm_path_exists() {
  2. mkdir -p "$(tpm_path)"
  3. }
  4. fail_helper() {
  5. local message="$1"
  6. echo "$message" >&2
  7. FAIL="true"
  8. }
  9. exit_value_helper() {
  10. if [ "$FAIL" == "true" ]; then
  11. exit 1
  12. else
  13. exit 0
  14. fi
  15. }