Hello community,

here is the log from the commit of package kiwi-images-vagrant for 
openSUSE:Factory checked in at 2020-06-11 09:58:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiwi-images-vagrant (Old)
 and      /work/SRC/openSUSE:Factory/.kiwi-images-vagrant.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kiwi-images-vagrant"

Thu Jun 11 09:58:29 2020 rev:5 rq:813159 version:1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kiwi-images-vagrant/Tumbleweed.changes   
2020-03-21 00:00:09.497050856 +0100
+++ /work/SRC/openSUSE:Factory/.kiwi-images-vagrant.new.3606/Tumbleweed.changes 
2020-06-11 09:58:40.021995493 +0200
@@ -1,0 +2,5 @@
+Wed Jun 10 10:10:35 UTC 2020 - Dan Čermák <[email protected]>
+
+- Only modify /etc/vimrc in config.sh if it exists
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.sI3xQy/_old  2020-06-11 09:58:41.393999902 +0200
+++ /var/tmp/diff_new_pack.sI3xQy/_new  2020-06-11 09:58:41.393999902 +0200
@@ -75,8 +75,12 @@
 #======================================
 # only basic version of vim is
 # installed; no syntax highlighting
+# only perform the modification if
+# /etc/vimrc is actually there
 #--------------------------------------
-sed -i -e's/^syntax on/" syntax on/' /etc/vimrc
+if [ -f /etc/vimrc ]; then
+    sed -i -e's/^syntax on/" syntax on/' /etc/vimrc
+fi
 
 function vagrantSetup {
     # This function configures the image to work as a vagrant box.


Reply via email to