diff options
-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; |