summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--mdkonline.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a418a8a9..1450988a 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ install: all
install -m644 icons/$(NAME)32.png $(ICONSDIR)/$(NAME).png
install -m644 icons/$(NAME)48.png $(ICONSDIR)/large/$(NAME).png
install -m644 pixmaps/*.png $(PIXDIR)/pixmaps
+ perl -pi -e "s/version = 1/version = $(VERSION)/" mdkonline.pm
install -m644 mdkonline.pm $(FBLIBDIR)
install -m644 mdkapplet_urpm.pm $(FBLIBDIR)
for d in $(SUBDIRS); do make -C $$d $@; done
diff --git a/mdkonline.pm b/mdkonline.pm
index 2bd1756e..fcc316f4 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -31,6 +31,8 @@ use common;
our @ISA = qw(Exporter);
our @EXPORT = qw(fork_exec get_banner get_stale_upgrade_filename);
+our $version = 2.67;
+
use log;
my $release_file = find { -f $_ } '/etc/mandriva-release', '/etc/mandrakelinux-release', '/etc/mandrake-release', '/etc/redhat-release';