/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-removeTemp.patch
ViewVC logotype

Diff of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-removeTemp.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by wellsi, Sun Jul 7 02:44:02 2013 UTC Revision 1.3 by wellsi, Sun Jul 7 04:55:02 2013 UTC
# Line 14  diff -ruN e-smith-backup-2.2.0.old/root/ Line 14  diff -ruN e-smith-backup-2.2.0.old/root/
14  -ldie("Error while creating $tmpdir/$id : $@. Maybe insufficient rights on backup directory.\n")  -ldie("Error while creating $tmpdir/$id : $@. Maybe insufficient rights on backup directory.\n")
15  -    if $@;  -    if $@;
16  +  +
17  +&remove_tree ($tmpdir);  +&remove_tree ("$tmpdir/$id");
18  +&create_tree ("$tmpdir/$id");  +&create_tree ("$tmpdir/$id");
19    
20   # we know right backup directory is in line and we can write on it.   # we know right backup directory is in line and we can write on it.
# Line 54  diff -ruN e-smith-backup-2.2.0.old/root/ Line 54  diff -ruN e-smith-backup-2.2.0.old/root/
54    
55  -# update dar_manager catalog  -# update dar_manager catalog
56  +# Remove temporary directory as no longer needed  +# Remove temporary directory as no longer needed
57  +&remove_tree ($tmpdir);  +&remove_tree ("$tmpdir/$id");
58    
59  +# update dar_manager catalog  +# update dar_manager catalog
60   $report .= "Updating catalog\n";   $report .= "Updating catalog\n";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed