debian-mirror-gitlab/debian/upstream-config-file-check.sh

12 lines
455 B
Bash

export LC_ALL=C.UTF-8
find config | sort > debian/upstream-config-file-list.new
if ! diff -u debian/upstream-config-file-list debian/upstream-config-file-list.new
then
echo "---------------------\n"
echo "Obsolete config files are:"
echo "---------------------"
comm -13 debian/upstream-file-list.new debian/upstream-file-list
echo "---------------------\n"
echo "These should be added to debian/maintscript"
echo "---------------------"
fi