mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-02 21:24:10 +01:00
Fix initialization from XPI.
This commit is contained in:
@@ -3,8 +3,12 @@ BEGIN {
|
||||
if (suffix)
|
||||
chrome = suffix
|
||||
}
|
||||
|
||||
{ content = $1 ~ /^(content|skin|locale|resource)$/ }
|
||||
content && $NF ~ /^[a-z]|^\.\// { $NF = "/" name "/" $NF }
|
||||
|
||||
content && $NF ~ /^([a-z]|\.\/)/ {
|
||||
$NF = "/" name "/" $NF
|
||||
}
|
||||
content {
|
||||
sub(/^\.\./, "", $NF);
|
||||
if (isjar)
|
||||
|
||||
Reference in New Issue
Block a user