rm different distro handling