diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-02-16 16:57:31 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-02-16 16:57:31 +0100 |
commit | 1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1 (patch) | |
tree | fa19b55521c6d55ec5a51cb95c2b6454798e04f2 | |
parent | 869ab3f21ef71028b557b64a3357cb92e60a9a9b (diff) | |
download | manatools-1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1.tar manatools-1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1.tar.gz manatools-1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1.tar.bz2 manatools-1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1.tar.xz manatools-1b5d73b3dda2c2f9a0da771a8fd3e499ad7ceca1.zip |
Fixed version to be used
-rw-r--r-- | lib/AdminPanel/Rpmdragora/init.pm | 5 | ||||
-rw-r--r-- | lib/AdminPanel/rpmdragora.pm | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Rpmdragora/init.pm b/lib/AdminPanel/Rpmdragora/init.pm index 1c1906c5..7acdec6a 100644 --- a/lib/AdminPanel/Rpmdragora/init.pm +++ b/lib/AdminPanel/Rpmdragora/init.pm @@ -41,6 +41,7 @@ our @ISA = qw(Exporter); our @EXPORT = qw(init warn_about_user_mode $MODE + $VERSION $changelog_first $default_list_mode %rpmdragora_options @@ -99,7 +100,7 @@ if ($collation_locale) { $collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8"); } -our $version = 1; +our $VERSION = "1.0.0"; our %rpmdragora_options; my $i; @@ -113,7 +114,7 @@ foreach (@ARGV) { $rpmdragora_options{$name} = \@values if @values; } else { if ($val eq 'version') { - print "$0 $version\n"; + print "$0 $VERSION\n"; exit(0); } elsif ($val =~ /^(test|expert)$/) { eval "\$::$1 = 1"; diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm index ae9dec24..0729b0d9 100644 --- a/lib/AdminPanel/rpmdragora.pm +++ b/lib/AdminPanel/rpmdragora.pm @@ -56,7 +56,6 @@ use AdminPanel::Shared::GUI; use Carp; our @ISA = qw(Exporter); -our $VERSION = '2.27'; our @EXPORT = qw( $changelog_first_config $compute_updates |