blob: d699bf55517c9df8fcd3e3de8964e28b1b768bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Turn off telemetry. See
# https://docs.wandb.ai/guides/track/environment-variables for details.
post_install() {
echo 'Disable telemetry and error reporting by default (see '
echo 'https://docs.wandb.ai/guides/track/environment-variables for details.'
sed \
-i '/WANDB_ERROR_REPORTING=/b;$a WANDB_ERROR_REPORTING=false' \
/etc/environment
}
post_remove() {
sed -i '/WANDB_ERROR_REPORTING=/d' /etc/environment
}
|