checkrestart: Also ignore log and temp files under /var/local/
Closes: #695151
Axel Beckert
10 years ago
367 | 367 |
if p.search(f):
|
368 | 368 |
return 0
|
369 | 369 |
# We don't care about log files
|
370 | |
if f.startswith('/var/log/'):
|
|
370 |
if f.startswith('/var/log/') or f.startswith('/var/local/log/'):
|
371 | 371 |
return 0
|
372 | 372 |
# Or about files under temporary locations
|
373 | |
if f.startswith('/var/run/'):
|
|
373 |
if f.startswith('/var/run/') or f.startswith('/var/local/run/'):
|
374 | 374 |
return 0
|
375 | 375 |
# Or about files under /tmp
|
376 | 376 |
if f.startswith('/tmp/'):
|
|
384 | 384 |
# Or about files under /drm
|
385 | 385 |
if f.startswith('/drm'):
|
386 | 386 |
return 0
|
387 | |
# Or about files under /var/tmp
|
388 | |
if f.startswith('/var/tmp/'):
|
|
387 |
# Or about files under /var/tmp and /var/local/tmp
|
|
388 |
if f.startswith('/var/tmp/') or f.startswith('/var/local/tmp/'):
|
389 | 389 |
return 0
|
390 | 390 |
# Or /dev/zero
|
391 | 391 |
if f.startswith('/dev/zero'):
|
20 | 20 |
* [checkrestart]
|
21 | 21 |
- Check ignorelist for package name equality, not substring match.
|
22 | 22 |
Thanks Francesco Poli! (Closes: #696533)
|
|
23 |
- Also ignore log and temp files under /var/local/ (Closes: #695151)
|
23 | 24 |
* Bump debhelper compatibility to 9 to be able to use some more recent
|
24 | 25 |
features. Update versioned debhelper build-dependency accordingly.
|
25 | 26 |
* Revamp debian/rules
|