summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-11-20 14:20:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-11-20 14:20:34 +0000
commit5f83b083e081c2c070a292a7bf96425f5f9c68fa (patch)
tree47768fe86588ea887330d6436213e95fd8a28635
parent09641699253e9f33d4497cc8842195ba2bc86c29 (diff)
downloadmgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar
mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.gz
mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.bz2
mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.xz
mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.zip
keep version around
-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';