User story #10412

Updated by Fran├žois ARMAND about 7 years ago

In #8353, we added hooks. It was decided at the time that we will choose which scripts to execute based on the exec bit of the file. It means that to disable a script, you "set -x" it.  

 Now, there is a commonly used convention that in that kind of context, a ".disabled" script will not be executed even if it is set +x.  

 To be more general, it should be a *list* of excluded extension, which could also takes care of "rpmnew" and other things.  

 The documentation will need to be updated accordingly.