split installer script for debian and ubuntu