193 if [ -x /usr/sbin/selinuxenabled ] ; then \ |
193 if [ -x /usr/sbin/selinuxenabled ] ; then \ |
194 /usr/sbin/selinuxenabled; \ |
194 /usr/sbin/selinuxenabled; \ |
195 if [ $$? = 0 ] ; then \ |
195 if [ $$? = 0 ] ; then \ |
196 /usr/bin/chcon -t textrel_shlib_t $@; \ |
196 /usr/bin/chcon -t textrel_shlib_t $@; \ |
197 if [ $$? != 0 ]; then \ |
197 if [ $$? != 0 ]; then \ |
198 echo "ERROR: Cannot chcon $@"; exit 1; \ |
198 echo "ERROR: Cannot chcon $@"; \ |
199 fi \ |
199 fi \ |
200 fi \ |
200 fi \ |
201 fi \ |
201 fi \ |
202 } |
202 } |
203 |
203 |