Backupklamotte erweitert

Fehler im Disk Graphen gefixt
Kleine Anpassung am MPFire


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@712 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-07-19 17:08:25 +00:00
parent f89a66e085
commit d39a5cb6ed
7 changed files with 220 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ require "${General::swroot}/header.pl";
my $filename = "";
my %songs = "";
my $debug = 0;
my $debug = 1;
if ($ARGV[0] eq 'scan') {
my $command = "find ";
@@ -135,7 +135,7 @@ sub getExistingSongs(){
sub checkplaylist(){
my $Datei = "/var/ipfire/mpfire/playlist";
my @Info = stat($Datei);
if ( $Info[7] eq '' ){print "There is no playlist";exit(1);}
if ( $Info[7] eq '' || $Info[7] eq '0' ){print "There is no playlist";exit(1);}
}
sub checkm3u(){