sometimes the dir is just yum-<random>
if commands succed, then we want to save the data