--- rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-removeTemp.patch 2013/07/07 02:44:02 1.1 +++ rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-removeTemp.patch 2013/07/07 04:55:02 1.3 @@ -14,7 +14,7 @@ diff -ruN e-smith-backup-2.2.0.old/root/ -ldie("Error while creating $tmpdir/$id : $@. Maybe insufficient rights on backup directory.\n") - if $@; + -+&remove_tree ($tmpdir); ++&remove_tree ("$tmpdir/$id"); +&create_tree ("$tmpdir/$id"); # we know right backup directory is in line and we can write on it. @@ -54,7 +54,7 @@ diff -ruN e-smith-backup-2.2.0.old/root/ -# update dar_manager catalog +# Remove temporary directory as no longer needed -+&remove_tree ($tmpdir); ++&remove_tree ("$tmpdir/$id"); +# update dar_manager catalog $report .= "Updating catalog\n";