Avoid hardcoding names on helper
This commit is contained in:
parent
d2eae2c93d
commit
3f95738a27
1 changed files with 13 additions and 2 deletions
|
|
@ -25,8 +25,19 @@ for patch in 16_unity_new_documents.patch; do
|
||||||
sed "/$patch/d" -i debian/patches/series
|
sed "/$patch/d" -i debian/patches/series
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i '/^AUTHORS/d' debian/docs
|
check_file() {
|
||||||
sed -i '/^THANKS/d' debian/docs
|
if [ ! -f $1 ]; then
|
||||||
|
echo " $1 doesn't exist removing from debian/docs"
|
||||||
|
sed -i "/^$1/d" debian/docs
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Checking for necessary files to install by debian/docs."
|
||||||
|
while read i
|
||||||
|
do
|
||||||
|
check_file $i
|
||||||
|
done < debian/docs
|
||||||
|
|
||||||
|
|
||||||
changelog "Revert from using ubuntu-help to default gnome-help"
|
changelog "Revert from using ubuntu-help to default gnome-help"
|
||||||
compile
|
compile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue