mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fixed sometimes failed package updates because generated password contained { and removed unnecessary PEAR upgrade of included HTTP_WebDAV_Server
This commit is contained in:
parent
092fc3406c
commit
0155b0b31d
@ -486,7 +486,7 @@ function randomstring($len=16)
|
|||||||
'w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L',
|
'w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L',
|
||||||
'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
|
'M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
|
||||||
'@','!','$','%','&','/','(',')','=','?',';',':','#','_','-','<',
|
'@','!','$','%','&','/','(',')','=','?',';',':','#','_','-','<',
|
||||||
'>','|','{','[',']','}', // dont add \,'" as we have problems dealing with them
|
'>','|','[',']','}', // dont add \,'"{ as we have problems dealing with them
|
||||||
);
|
);
|
||||||
|
|
||||||
$str = '';
|
$str = '';
|
||||||
@ -583,7 +583,7 @@ function check_install_pear_packages()
|
|||||||
$need_upgrade = array();
|
$need_upgrade = array();
|
||||||
foreach($packages as $package => $version)
|
foreach($packages as $package => $version)
|
||||||
{
|
{
|
||||||
if ($version !== true && isset($packages_installed[$package]) &&
|
if ($version !== true && $version !== '999.egw-pear' && isset($packages_installed[$package]) &&
|
||||||
version_compare($version, $packages_installed[$package], '>'))
|
version_compare($version, $packages_installed[$package], '>'))
|
||||||
{
|
{
|
||||||
$need_upgrade[] = $package;
|
$need_upgrade[] = $package;
|
||||||
|
Loading…
Reference in New Issue
Block a user