Votebot should work on Debian also.

Bug #509240 reported by Montel Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VoteBot
New
Wishlist
Unassigned

Bug Description

I believe that Votebot should have a modified setup.pl that allows it to also be configured for Debian systems.
I doubt that the packages are *that* different that it can only be ran on Ubuntu.

Revision history for this message
Iain Buclaw (iainb) wrote :

Actually they are exactly the same - in both releases, but point taken.

One answer could be create another function:
my %distroCmd = (
 "Debian" => \&debian,
 "Fedora" => \&fedora,
 "Ubuntu" => \&ubuntu,
);

sub debian {
  system('sudo apt-get install libpoe-component-irc-perl sqlite sqlite3');
 system('sudo cpan ...');
}

But tbh - a the current method of doing it will only get you so far...

Changed in votebot:
importance: Undecided → Wishlist
Revision history for this message
Montel Edwards (montel) wrote : Re: [Bug 509240] Re: Votebot should work on Debian also.

Thanks.

I was looking into that earlier yesterday but I was afraid that it
would mess something up.

On 1/18/10, Iain Bucław <email address hidden> wrote:
> Actually they are exactly the same - in both releases, but point taken.
>
> One answer could be create another function:
> my %distroCmd = (
> "Debian" => \&debian,
> "Fedora" => \&fedora,
> "Ubuntu" => \&ubuntu,
> );
>
> sub debian {
> system('sudo apt-get install libpoe-component-irc-perl sqlite sqlite3');
> system('sudo cpan ...');
> }
>
>
> But tbh - a the current method of doing it will only get you so far...
>
> ** Changed in: votebot
> Importance: Undecided => Wishlist
>
> --
> Votebot should work on Debian also.
> https://bugs.launchpad.net/bugs/509240
> You received this bug notification because you are a direct subscriber
> of the bug.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.