diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-27 10:29:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-27 10:29:19 +0000 |
commit | 80f72f259f0c49a0e0c736445d337a9514b45cb4 (patch) | |
tree | adb821b4c1d660fc9245ebe3cd0f28e1a0110f8f | |
parent | 3a9142a3abbaf3ba2e8af7715ebde771e4d4dc2f (diff) | |
download | rpmdrake-80f72f259f0c49a0e0c736445d337a9514b45cb4.tar rpmdrake-80f72f259f0c49a0e0c736445d337a9514b45cb4.tar.gz rpmdrake-80f72f259f0c49a0e0c736445d337a9514b45cb4.tar.bz2 rpmdrake-80f72f259f0c49a0e0c736445d337a9514b45cb4.tar.xz rpmdrake-80f72f259f0c49a0e0c736445d337a9514b45cb4.zip |
ensure verion as reported by rpmdrake --version is uptodate (#29840)
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | Rpmdrake/init.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -45,6 +45,7 @@ install: $(ALL) mkdir -p $(PERL_VENDORLIB)/Rpmdrake install -m 644 rpmdrake.pm $(PERL_VENDORLIB) install -m 644 Rpmdrake/*.pm $(PERL_VENDORLIB)/Rpmdrake + perl -pi -e "s/version = 1/version=$(VERSION)/" $(PERL_VENDORLIB)/Rpmdrake/init.pm clean: @for n in $(DIRS); do \ diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index f743e9de..d01c36a4 100755 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -80,7 +80,7 @@ if ($collation_locale) { $collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8"); } -my $version = '3.42'; +my $version = 1; our %options; foreach (@ARGV) { /^-?-(\S+)$/ or next; |