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

14 lines
476 B
Bash
Raw Normal View History

2021-03-11 21:10:30 +05:30
set -e
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 "---------------------"
2021-03-11 21:10:30 +05:30
comm -13 debian/upstream-config-file-list.new debian/upstream-config-file-list
echo "---------------------\n"
echo "These should be added to debian/maintscript"
echo "---------------------"
fi