|
|
|
|
120
|
if ! grep -q '!/etc/share/tt-rss/lock' /etc/tripwire/twpol.txt; then
|
120
|
if ! grep -q '!/etc/share/tt-rss/lock' /etc/tripwire/twpol.txt; then
|
121
|
sed -i '\|/etc\t\t->.*|a\ !/etc/share/tt-rss/lock ;' /etc/tripwire/twpol.txt
|
121
|
sed -i '\|/etc\t\t->.*|a\ !/etc/share/tt-rss/lock ;' /etc/tripwire/twpol.txt
|
122
|
fi
|
122
|
fi
|
|
|
123
|
+ # ignore global node modules
|
|
|
124
|
+ if ! grep -q '!/usr/local/lib/node_modules' /etc/tripwire/twpol.txt; then
|
|
|
125
|
+ sed -i '\|/etc\t\t->.*|a\ !/usr/local/lib/node_modules ;' /etc/tripwire/twpol.txt
|
|
|
126
|
+ fi
|
|
|
127
|
+
|
123
|
# Not much is in /usr/local/bin other than project commands and avoiding it removes
|
128
|
# Not much is in /usr/local/bin other than project commands and avoiding it removes
|
124
|
# problems with updates. This is a tradeoff, but not by much.
|
129
|
# problems with updates. This is a tradeoff, but not by much.
|
125
|
sed -i '/\/usr\/local\/bin/d' /etc/tripwire/twpol.txt
|
130
|
sed -i '/\/usr\/local\/bin/d' /etc/tripwire/twpol.txt
|