if [ "$compress" ]; then
# The config file is a sh script that outputs the files to be compressed
# (typically using find).
- sh $olddir/$compress 2>/dev/null
+ sh $olddir/$compress 2>/dev/null || true
else
# By default fall back on what the policy manual says to compress.
find usr/info usr/man usr/X11*/man -type f ! -name "*.gz" 2>/dev/null || true
# Call only if DH_EXCLUDE_GREP is non-empty.
filelist_excluded () {
# Use grep -F so we don't have to worry about regexp's.
- filelist | grep -v -F \
- "`echo "$DH_EXCLUDE_GREP" | tr "|" "\n"`"
+ (filelist | grep -v -F \
+ "`echo "$DH_EXCLUDE_GREP" | tr "|" "\n"`") || true
}
for PACKAGE in $DH_DOPACKAGES; do