git Projekt für Liste
This commit is contained in:
parent
af8fcc9391
commit
50068ef675
2 changed files with 8 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
all-adblock.txt
|
||||
compiled/
|
||||
errors.log
|
||||
own-rules.txt
|
||||
pre-adblock.txt
|
||||
|
|
|
@ -19,7 +19,7 @@ set -e -u
|
|||
#Remove comments in lists and change marker to comment
|
||||
sed -i -e 's/^!.*$//g' -e 's/#!MARKER-/!MARKER-/g' pre-adblock.txt
|
||||
|
||||
echo '' > all-adblock.txt
|
||||
echo '' > compiled/all-adblock.txt
|
||||
|
||||
{
|
||||
#Create Header
|
||||
|
@ -35,4 +35,9 @@ echo '' > all-adblock.txt
|
|||
|
||||
#Remove duplicate lines
|
||||
awk '!seen[$0]++' pre-adblock.txt
|
||||
} >> all-adblock.txt
|
||||
} >> compiled/all-adblock.txt
|
||||
|
||||
cd compiled
|
||||
git add all-adblock.txt
|
||||
git commit -m "$date" > /dev/null
|
||||
git push > /dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue