diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-20 14:20:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-20 14:20:34 +0000 |
commit | 5f83b083e081c2c070a292a7bf96425f5f9c68fa (patch) | |
tree | 47768fe86588ea887330d6436213e95fd8a28635 | |
parent | 09641699253e9f33d4497cc8842195ba2bc86c29 (diff) | |
download | mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.gz mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.bz2 mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.tar.xz mgaonline-5f83b083e081c2c070a292a7bf96425f5f9c68fa.zip |
keep version around
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | mdkonline.pm | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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'; |