mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_Installer: Windows path compatibility
git-svn-id: https://svn.fhem.de/fhem/trunk@19253 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0b206b2b2c
commit
548468d22c
@ -3,6 +3,7 @@
|
|||||||
package main;
|
package main;
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use POSIX;
|
||||||
use FHEM::Meta;
|
use FHEM::Meta;
|
||||||
|
|
||||||
sub Installer_Initialize($) {
|
sub Installer_Initialize($) {
|
||||||
@ -449,7 +450,7 @@ m/^(?:@([\w-]+)\/)?(?:App::)?(cpan\-?outdated)(?:@([\d\.=<>]+|latest))?$/i,
|
|||||||
);
|
);
|
||||||
$hash->{".fhem"}{installer}{cmd} =
|
$hash->{".fhem"}{installer}{cmd} =
|
||||||
'uninstallPerl ' . join( " ", @args );
|
'uninstallPerl ' . join( " ", @args );
|
||||||
$ret = "Deinstallation started in background";
|
$ret = "Deinstallation started in background";
|
||||||
}
|
}
|
||||||
|
|
||||||
# return Usage:
|
# return Usage:
|
||||||
@ -5380,6 +5381,7 @@ sub __GetExtendedEnvPath {
|
|||||||
|
|
||||||
foreach my $p ( reverse @binpath ) {
|
foreach my $p ( reverse @binpath ) {
|
||||||
next unless ( $p && $p ne '' );
|
next unless ( $p && $p ne '' );
|
||||||
|
$p =~ s/\\/\\\/g;
|
||||||
unshift @path, $p unless ( grep ( /^$p$/, @path ) );
|
unshift @path, $p unless ( grep ( /^$p$/, @path ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5506,7 +5508,7 @@ sub __list_module {
|
|||||||
"abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen"
|
"abstract": "Modul zum Update von FHEM, zur Installation von Drittanbieter FHEM Modulen und der Verwaltung von Systemvoraussetzungen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "v0.5.2",
|
"version": "v0.5.3",
|
||||||
"release_status": "testing",
|
"release_status": "testing",
|
||||||
"author": [
|
"author": [
|
||||||
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
"Julian Pawlowski <julian.pawlowski@gmail.com>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user