mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
fix perms I hope
This commit is contained in:
@@ -734,8 +734,8 @@ sub postinst {
|
|||||||
foreach my $file (sort keys %$owninfo) {
|
foreach my $file (sort keys %$owninfo) {
|
||||||
my $quotedfile=$file;
|
my $quotedfile=$file;
|
||||||
$quotedfile=~s/'/'"'"'/g; # no single quotes in single quotes..
|
$quotedfile=~s/'/'"'"'/g; # no single quotes in single quotes..
|
||||||
$permscript.="chown '$owninfo->{$file}' '$quotedfile'\n";
|
$permscript.="chown '".$owninfo->{$file}."' '$quotedfile'\n";
|
||||||
$permscript.="chmod '$modeinfo->${file}' '$quotedfile'\n"
|
$permscript.="chmod '".$modeinfo->${file}."' '$quotedfile'\n"
|
||||||
if (defined $modeinfo->{$file});
|
if (defined $modeinfo->{$file});
|
||||||
}
|
}
|
||||||
return "$firstline\n$permscript\n$rest";
|
return "$firstline\n$permscript\n$rest";
|
||||||
|
|||||||
Reference in New Issue
Block a user