Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/usr/bin/perl -w
use strict;
use PPM
PPM::InstallPackage("package" => 'PPM-Repositories');
#!/usr/bin/perl -w
use strict;
use PPM;
use PPM::Repositories;
my @list = PPM::ListOfRepositories();
my %list = map {$_ => 1} @list;
for my $rep ( keys %Repositories ) {
if($list{$rep}) {
if(!$Repositories{$rep}->{Active}) {
PPM::RemoveRepository( "repository" => $rep,
"save" => 1);
}
} else {
if($Repositories{$rep}->{Active}) {
PPM::AddRepository( "repository" => $rep,
"location" => $Repositories{$rep}->{location},
"save" => 1);
}
}
}