File: bug-script

package info (click to toggle)
devscripts 2.21.3%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,044 kB
  • sloc: perl: 26,093; sh: 10,874; python: 2,502; makefile: 341; ansic: 11
file content (21 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

printf "\n--- /etc/devscripts.conf ---\n" >&3

if [ -f /etc/devscripts.conf ]; then
    grep -E '^[^#]' /etc/devscripts.conf | \
    grep -E -v "^\s*BTS_SMTP_AUTH_" | \
    grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
    echo "Not present" >&3
fi

printf "\n--- ~/.devscripts ---\n" >&3

if [ -f ~/.devscripts ]; then
    grep -E '^[^#]' ~/.devscripts | \
    grep -E -v "^\s*BTS_SMTP_AUTH_" | \
    grep -E -v "^\s*SALSA.*TOKEN" >&3 || echo "Empty." >&3
else
    echo "Not present" >&3
fi