diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-21 16:36:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-21 16:36:44 +0000 |
commit | 5a1b56da74d145611cb8d195170dc8b42e95ad31 (patch) | |
tree | 11ec0b73d4ad2338ca9fb1a9724778ba018c2752 | |
parent | a0c7a708088b5cd9cd8ffebb30267f67371d2f3f (diff) | |
download | mgaonline-5a1b56da74d145611cb8d195170dc8b42e95ad31.tar mgaonline-5a1b56da74d145611cb8d195170dc8b42e95ad31.tar.gz mgaonline-5a1b56da74d145611cb8d195170dc8b42e95ad31.tar.bz2 mgaonline-5a1b56da74d145611cb8d195170dc8b42e95ad31.tar.xz mgaonline-5a1b56da74d145611cb8d195170dc8b42e95ad31.zip |
(get_stale_upgrade_filename) actually introduced it (forgot to commit along previous commit)
-rw-r--r-- | mdkonline.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index 0b381ca0..2bd1756e 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -29,13 +29,17 @@ use lib qw(/usr/lib/libDrakX); use common; our @ISA = qw(Exporter); -our @EXPORT = qw(fork_exec get_banner); +our @EXPORT = qw(fork_exec get_banner get_stale_upgrade_filename); use log; my $release_file = find { -f $_ } '/etc/mandriva-release', '/etc/mandrakelinux-release', '/etc/mandrake-release', '/etc/redhat-release'; +sub get_stale_upgrade_filename() { + '/var/lib/urpmi/stale_upgrade_in_progress'; +} + sub get_release() { my ($r) = cat_($release_file) =~ /release\s+(\S+)/; ($r); |