Commit 78ecb6b6 authored by Jelmer Vernooij's avatar Jelmer Vernooij

package-uses-deprecated-source-override-location: Don't error out when file is missing.

parent 7ad8f218
#!/bin/sh
if [ ! -f debian/source.lintian-overrides ]; then
echo "File missing" >&2
exit 1
if [ -f debian/source.lintian-overrides ]; then
if [ ! -d debian/source ]; then
mkdir debian/source
fi
mv debian/source.lintian-overrides debian/source/lintian-overrides
fi
if [ ! -d debian/source ]; then
mkdir debian/source
fi
mv debian/source.lintian-overrides debian/source/lintian-overrides
echo "Move source package lintian overrides to debian/source."
echo "Fixed-Lintian-Tags: package-uses-deprecated-source-override-location"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment