Accepting request 111035 from home:vuntz:branches:Base:System

Fix a broken echo

OBS-URL: https://build.opensuse.org/request/show/111035
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=194
This commit is contained in:
Stephan Kulow 2012-03-27 06:55:31 +00:00 committed by Git OBS Bridge
parent 5e05072509
commit 3808a8e29c
2 changed files with 7 additions and 1 deletions

View File

@ -18,7 +18,7 @@ Index: scripts/find-lang.sh
+done +done
+find $TOP_DIR/usr/share/help/ -maxdepth 1 -type d | sed 's:'"$TOP_DIR"/usr/share/help/'::; /^$/d' | while read dir; do +find $TOP_DIR/usr/share/help/ -maxdepth 1 -type d | sed 's:'"$TOP_DIR"/usr/share/help/'::; /^$/d' | while read dir; do
+ if ! rpm -ql filesystem | egrep -q "/usr/share/help/$dir"$; then + if ! rpm -ql filesystem | egrep -q "/usr/share/help/$dir"$; then
+ echo -n "removing help translation /usr/share/help/$dir" + echo "removing help translation /usr/share/help/$dir"
+ rm -rf $TOP_DIR/usr/share/help/$dir + rm -rf $TOP_DIR/usr/share/help/$dir
+ fi + fi
+done +done

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 26 07:37:10 UTC 2012 - vuntz@opensuse.org
- Update remove-translations.diff to fix a echo statement that was
using -n.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 13 21:53:12 UTC 2012 - dimstar@opensuse.org Tue Mar 13 21:53:12 UTC 2012 - dimstar@opensuse.org