Add if condition before install.