mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
packages/{ai,hategroup}_blocklist: include two versions of blocklist
This commit is contained in:
parent
cb1310015e
commit
2ec26ff49e
3 changed files with 17 additions and 6 deletions
|
|
@ -17,6 +17,10 @@ in
|
|||
};
|
||||
|
||||
installPhase = ''
|
||||
cp blocklist.txt $out
|
||||
mkdir -p $out/share
|
||||
cp blocklist.txt $out/share/domains.txt
|
||||
|
||||
cat $out/share/domains.txt |
|
||||
sed 's/^\([^#].*\)$/0.0.0.0 \1/' > $out/share/hosts.txt
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue