Codebase list debian-goodies / 5d65c18
checkrestart: Also ignore log and temp files under /var/local/ Closes: #695151 Axel Beckert 10 years ago
2 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
367367 if p.search(f):
368368 return 0
369369 # 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/'):
371371 return 0
372372 # Or about files under temporary locations
373 if f.startswith('/var/run/'):
373 if f.startswith('/var/run/') or f.startswith('/var/local/run/'):
374374 return 0
375375 # Or about files under /tmp
376376 if f.startswith('/tmp/'):
384384 # Or about files under /drm
385385 if f.startswith('/drm'):
386386 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/'):
389389 return 0
390390 # Or /dev/zero
391391 if f.startswith('/dev/zero'):
2020 * [checkrestart]
2121 - Check ignorelist for package name equality, not substring match.
2222 Thanks Francesco Poli! (Closes: #696533)
23 - Also ignore log and temp files under /var/local/ (Closes: #695151)
2324 * Bump debhelper compatibility to 9 to be able to use some more recent
2425 features. Update versioned debhelper build-dependency accordingly.
2526 * Revamp debian/rules