translation-update-upstream/translation-update-upstream-embedded.patch
Stanislav Brabec 02c2f81a7f Accepting request 657325 from home:sbrabec:branches:Base:System
- translation-update-upstream.in: Restore time stamp to prevent
  triggering of aclocal (boo#1118603).
  * Refresh translation-update-upstream-embedded.patch.
- Add a check that prevents build of SLE version for openSUSE.

OBS-URL: https://build.opensuse.org/request/show/657325
OBS-URL: https://build.opensuse.org/package/show/Base:System/translation-update-upstream?expand=0&rev=65
2019-01-08 15:28:54 +00:00

20 lines
598 B
Diff

--- translation-update-upstream-embedded.sh 2018-12-10 22:58:17.369805285 +0100
+++ translation-update-upstream-embedded.sh 2018-12-10 23:01:32.309607787 +0100
@@ -74,6 +74,7 @@
fi
fi
fi
+BASE_DIR=$PWD
DIR=${1:-po}
if test -z "$3" ; then
@@ -202,7 +203,7 @@
echo "WARNING: Missing $DOMAIN in translation-update-upstream configuration! No updates available."
fi
else
- echo "ERROR: Package translation-update-upstream is not installed. Please update your BuildRequires!"
+ echo "ERROR: Incorrect use of translation-update-upstream-embedded!"
exit 1
fi
fi