Hello community,
here is the log from the commit of package python-jupyter_full_width for
openSUSE:Factory checked in at 2018-06-15 14:46:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_full_width (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_full_width.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_full_width"
Fri Jun 15 14:46:01 2018 rev:2 rq:616074 version:1.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_full_width/python-jupyter_full_width.changes
2018-06-02 11:59:01.168879837 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_full_width.new/python-jupyter_full_width.changes
2018-06-15 14:46:04.012799395 +0200
@@ -1,0 +2,10 @@
+Sun Jun 10 10:40:32 UTC 2018 - [email protected]
+
+- Avoid bashim in scriptlet
+
+-------------------------------------------------------------------
+Tue May 29 14:59:34 UTC 2018 - [email protected]
+
+- Use || true syntax instead of exit 0
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_full_width.spec ++++++
--- /var/tmp/diff_new_pack.fPE4lk/_old 2018-06-15 14:46:05.464746283 +0200
+++ /var/tmp/diff_new_pack.fPE4lk/_new 2018-06-15 14:46:05.472745991 +0200
@@ -61,14 +61,12 @@
%{fdupes %{buildroot}%{_datadir}/jupyter/ %{buildroot}%{python3_sitelib}}
%post -n python3-jupyter_full_width
-jupyter nbextension enable --py --system full_width
-exit 0
+jupyter nbextension enable --py --system full_width || true
%preun -n python3-jupyter_full_width
-if [ $1 == 0 ] && [ -d %{python3_sitelib}/full_width/ ] ; then
- jupyter nbextension disable --py --system full_width
+if [ $1 = 0 ] && [ -d %{python3_sitelib}/full_width/ ] ; then
+ jupyter nbextension disable --py --system full_width || true
fi
-exit 0
%files %{python_files}
%doc full_width/jupyter/readme.md