If you want to have a script that would do something if either one of two consequences is true, a simple way to do that would be:
if [ condition 1 ] || [ condition 2 ] ; then
if [ condition 1 ] ; then
consequences for condition 1
if [ condition 2 ] ; then
consequences for condition 2
consequences of either one, but happens only once, not twice
You check if either one is true, when "||"...