File avogadro-1.1.0-avopkg-fix-echo.patch of Package avogadro
diff -Ndur avogadro-1.1.0/avopkg.in avogadro-1.1.0-avopkg-fix-echo/avopkg.in
--- avogadro-1.1.0/avopkg.in 2012-09-03 20:07:01.000000000 +0300
+++ avogadro-1.1.0-avopkg-fix-echo/avopkg.in 2014-11-16 20:23:26.966971041 +0200
@@ -333,15 +333,21 @@
files=$(readString "`ls *.py`")
echo "5. Choose a category for your Python plugin from list:"
- echo "* engineScripts\n* extensionScripts\n* toolScripts"
+ echo "* engineScripts"
+ echo "* extensionScripts"
+ echo "* toolScripts"
category=$(readString "")
else
echo -n "4. List of files to distribute [`ls *.so`]:"
files=$(readString "`ls *.so`")
echo "5. Choose a category for your plugin from list:"
- echo "* colors\n* engines\n* extensions\n* tools"
- echo "* contrib\n* you may add new if no other is suitable"
+ echo "* colors"
+ echo "* engines"
+ echo "* extensions"
+ echo "* tools"
+ echo "* contrib"
+ echo "* you may add new if no other is suitable"
echo -n "Category [contrib]:"
category=$(readString "contrib")
fi