Blob Blame History Raw
#!/bin/bash
# Author:	???
#		Christoph Galuschka <christoph.galuschka@chello.at>

t_Log "Running $0 - checking if file can recognize mime executable type "

if [ "$centos_ver" -eq "8" ] ;then
  string="application/x-sharedlib"
elif [ "$centos_ver" -eq "9" ] ;then
  string="application/x-pie-executable"
else
  string="application/x-executable"
fi

file /bin/bash -i | grep -q "${string}"

t_CheckExitStatus $?