mini: converted an if-then-else-fi to case/esac - safes ~20 bytes - 2/2