diff --git a/helpers/make-nautilus b/helpers/make-nautilus index a02e253..0c02396 100644 --- a/helpers/make-nautilus +++ b/helpers/make-nautilus @@ -25,19 +25,16 @@ for patch in 16_unity_new_documents.patch; do sed "/$patch/d" -i debian/patches/series done -check_file() { -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 + if [ -f $i ]; then + echo $i >> debian/docs.new + fi done < debian/docs +mv debian/docs.new debian/docs +cat debian/docs changelog "Revert from using ubuntu-help to default gnome-help" compile