fn check_package( installer: &Path, sha256: &str, version: &str, own_dir: &Path, data_dir: &Path, ) -> Result<Staged, String>