rm "$CONTROL"/conffiles
if [ -f "$CONTROL"/conffiles.resolved ]; then
- mv "$CONTROL"/conffiles.resolved "$CONTROL"/conffiles
+ LC_ALL=C sort -o "$CONTROL"/conffiles "$CONTROL"/conffiles.resolved
+ rm "$CONTROL"/conffiles.resolved
chmod 0644 "$CONTROL"/conffiles
fi
fi