summaryrefslogtreecommitdiffstats
path: root/mdkonline.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-14 12:04:33 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-14 12:04:33 +0000
commit269443e46fefc6102637d415874ac936b9c203dd (patch)
treeaad4d4858887d1710405713f1f10a26a63d50f87 /mdkonline.pm
parentfabfb8f69a22440b0c00f13e0a53a0e297559dba (diff)
downloadmgaonline-269443e46fefc6102637d415874ac936b9c203dd.tar
mgaonline-269443e46fefc6102637d415874ac936b9c203dd.tar.gz
mgaonline-269443e46fefc6102637d415874ac936b9c203dd.tar.bz2
mgaonline-269443e46fefc6102637d415874ac936b9c203dd.tar.xz
mgaonline-269443e46fefc6102637d415874ac936b9c203dd.zip
just do not restart the applet on package update anymore
Diffstat (limited to 'mdkonline.pm')
-rw-r--r--mdkonline.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index dcae7795..0b381ca0 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -35,19 +35,6 @@ use log;
my $release_file = find { -f $_ } '/etc/mandriva-release', '/etc/mandrakelinux-release', '/etc/mandrake-release', '/etc/redhat-release';
-sub md5file {
- require Digest::MD5;
- my @md5 = map {
- my $sum;
- if (open(my $FILE, $_)) {
- binmode($FILE);
- $sum = Digest::MD5->new->addfile($FILE)->hexdigest;
- close($FILE);
- }
- $sum;
- } @_;
- return wantarray() ? @md5 : $md5[0];
-}
sub get_release() {
my ($r) = cat_($release_file) =~ /release\s+(\S+)/;