summaryrefslogtreecommitdiffstats
path: root/mdkonline.pm
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-11-19 17:55:28 +0000
committerDaouda Lo <daouda@mandriva.com>2004-11-19 17:55:28 +0000
commitee98bb008da815fea4bc63891b1fbf7a00ebabe1 (patch)
treef599ee6b14ae89570967b836acff3f49b8c3af79 /mdkonline.pm
parent732e7e8765191df2b396ac07d055659e3aacb838 (diff)
downloadmgaonline-ee98bb008da815fea4bc63891b1fbf7a00ebabe1.tar
mgaonline-ee98bb008da815fea4bc63891b1fbf7a00ebabe1.tar.gz
mgaonline-ee98bb008da815fea4bc63891b1fbf7a00ebabe1.tar.bz2
mgaonline-ee98bb008da815fea4bc63891b1fbf7a00ebabe1.tar.xz
mgaonline-ee98bb008da815fea4bc63891b1fbf7a00ebabe1.zip
sync with update changes
Diffstat (limited to 'mdkonline.pm')
-rw-r--r--mdkonline.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index 994aaee5..b33a3de8 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -176,6 +176,11 @@ sub mv_files {
-e $source and system("mv", $source, $dest);
}
+sub clean_confdir {
+ my $confdir = '/root/.MdkOnline';
+ system "/bin/rm", "-f", "$confdir/*log.bz2", "$confdir/*log.bz2.uue", "$confdir/*.dif $confdir/rpm_qa_installed_before", "$confdir/rpm_qa_installed_after";
+}
+
sub hw_upload {
my ($login, $passwd, $hostname) = @_;
my $hw_exec = '/usr/sbin/hwdb_add_system';