From 5238ad5a0c4a9e1c8cd036f5de4055e39bd71297 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Fri, 29 Apr 2011 09:09:27 +0200 Subject: added debootstrap stuff Signed-off-by: Manuel Traut --- beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm (limited to 'beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm') diff --git a/beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm b/beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm new file mode 100644 index 0000000..11143c9 --- /dev/null +++ b/beagle/debian-rfs/usr/share/perl5/Debconf/Base.pm @@ -0,0 +1,39 @@ +#!/usr/bin/perl -w +# This file was preprocessed, do not edit! + + +package Debconf::Base; +use Debconf::Log ':all'; +use strict; + + +sub new { + my $proto = shift; + my $class = ref($proto) || $proto; + my $this=bless ({@_}, $class); + $this->init; + return $this; +} + + +sub init {} + + +sub AUTOLOAD { + (my $field = our $AUTOLOAD) =~ s/.*://; + + no strict 'refs'; + *$AUTOLOAD = sub { + my $this=shift; + + return $this->{$field} unless @_; + return $this->{$field}=shift; + }; + goto &$AUTOLOAD; +} + +sub DESTROY { +} + + +1 -- cgit v1.2.3