summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Any_Clone.pm10
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Base.pm9
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Fedora_6.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm8
-rw-r--r--installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm8
10 files changed, 32 insertions, 51 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm b/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
index 80651a15..0433b9a4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Any_Clone.pm
@@ -13,14 +13,10 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Any_Clone;
-use vars qw($VERSION);
-use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-
use strict;
-use Carp;
-use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
+use warnings;
+
+use base qw(OpenSLX::OSSetup::Distro::Base);
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm
index 769288f1..e0cb5fba 100644
--- a/installer/OpenSLX/OSSetup/Distro/Base.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Base.pm
@@ -13,11 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Base;
-use vars qw($VERSION);
-$VERSION = 1.01; # API-version . implementation-version
-
use strict;
-use Carp;
+use warnings;
+
+our $VERSION = 1.01; # API-version . implementation-version
+
+use Carp qw(confess);
use File::Basename;
use OpenSLX::Basics;
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
index be63775b..24ad00a4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Debian_3_1;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
index 825ed542..f4e8a6e4 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Debian_4_0;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
index f2e38868..03f7116a 100644
--- a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Fedora_6;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
index 00125f47..46c43e37 100644
--- a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Fedora_6_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
index 25ae41bb..819bbb95 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_1;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
index 983834f8..f80bca32 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_1_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
index 24508911..06fdd322 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_2;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation
diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
index 30268635..e30e0897 100644
--- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
+++ b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm
@@ -13,14 +13,12 @@
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::SUSE_10_2_x86_64;
-use vars qw($VERSION);
+use strict;
+use warnings;
+
use base qw(OpenSLX::OSSetup::Distro::Base);
-$VERSION = 1.01; # API-version . implementation-version
-use strict;
-use Carp;
use OpenSLX::Basics;
-use OpenSLX::OSSetup::Distro::Base 1;
################################################################################
### implementation