Skip to content
Snippets Groups Projects
Commit f4d48c72 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Update make-nautilus avoid read/delete on the same file

parent 3f95738a
No related branches found
No related tags found
3 merge requests!307Etiona test mr,!268Fix nautilus helper etiona,!179Corrected patch for make-bleachbit
This commit is part of merge request !268. Comments created here will be created in the context of that merge request.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment