This one time, at band camp, Kris Kvilekval said: > > The original backup code in deluser first writes the tar file, and then > compresses it. > This patch simply uses some gnu tar options (already required) to accomplish > the same. This is useful when backup up over NFS. > if($bzip2) { > ! $options .= "--bzip2"; > ! $ext = ".bz2"; > } elsif($gzip) { > ! $options .= "--gzip"; > ! $ext = ".gz"; > } > + &systemcall($tar, "-c" , $options, "-f", $backup_name.$ext, > "--files-from", $filesfilename);
This will leave a file named '$backup.tar.' in the case that both of those compressors are missing, I think. Otherwise, it seems reasonable. I'll look at merging it in shortly. Thanks for the report, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature