debian-mirror-gitlab/debian/upstream-config-file-check.sh
2021-03-11 21:10:30 +05:30

13 lines
476 B
Bash

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 "---------------------"
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