mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
Merge remote-tracking branch 'stevee/axel-log-fix' into axel-fixperms
This commit is contained in:
@@ -49,7 +49,7 @@ $vendorid =~ tr/A-Z/a-z/;
|
||||
unless (-d "$repository/download/$vendorid")
|
||||
{
|
||||
system("mkdir -p $repository/download/$vendorid");
|
||||
system("chmod 775 $repository/download/$vendorid");
|
||||
#system("chmod 775 $repository/download/$vendorid");
|
||||
}
|
||||
|
||||
if($restartdl == 0)
|
||||
@@ -159,13 +159,13 @@ if ($_ == 0)
|
||||
unless (-d "$repository/$vendorid")
|
||||
{
|
||||
system("mkdir -p $repository/$vendorid");
|
||||
system("chmod 775 $repository/$vendorid");
|
||||
#system("chmod 775 $repository/$vendorid");
|
||||
}
|
||||
|
||||
unless (-d "$repository/$vendorid/$uuid")
|
||||
{
|
||||
system("mkdir -p $repository/$vendorid/$uuid");
|
||||
system("chmod 775 $repository/$vendorid/$uuid");
|
||||
#system("chmod 775 $repository/$vendorid/$uuid");
|
||||
}
|
||||
|
||||
&writelog("Moving file to the cache directory: $vendorid/$uuid");
|
||||
@@ -181,7 +181,7 @@ if ($_ == 0)
|
||||
&UPDXLT::setcachestatus("$repository/$vendorid/$uuid/access.log",time);
|
||||
|
||||
system("/usr/local/bin/updxsetperms");
|
||||
system("chmod 775 $repository/$vendorid/$uuid/*");
|
||||
#system("chmod 775 $repository/$vendorid/$uuid/*");
|
||||
|
||||
unlink ("$repository/download/$vendorid/$updatefile.info");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user