Hello community,

here is the log from the commit of package system-users for openSUSE:Factory 
checked in at 2020-03-30 22:50:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/system-users (Old)
 and      /work/SRC/openSUSE:Factory/.system-users.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "system-users"

Mon Mar 30 22:50:57 2020 rev:16 rq:788125 version:20170617

Changes:
--------
--- /work/SRC/openSUSE:Factory/system-users/system-users.changes        
2020-02-24 15:49:46.263119741 +0100
+++ /work/SRC/openSUSE:Factory/.system-users.new.3160/system-users.changes      
2020-03-30 22:50:58.619759071 +0200
@@ -1,0 +2,10 @@
+Wed Mar 25 10:10:46 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Use test -x instead of -f
+
+-------------------------------------------------------------------
+Fri Mar 20 19:00:10 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Call usermod only if installed
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ system-users.spec ++++++
--- /var/tmp/diff_new_pack.OhoZXv/_old  2020-03-30 22:50:59.255759418 +0200
+++ /var/tmp/diff_new_pack.OhoZXv/_new  2020-03-30 22:50:59.259759420 +0200
@@ -166,7 +166,6 @@
 %package -n system-user-nobody
 Summary:        System user and group nobody
 Group:          System/Fhs
-Requires(pre):  /usr/sbin/usermod
 %{sysusers_requires}
 
 %description -n system-user-nobody
@@ -276,7 +275,7 @@
 %pre -n system-user-lp -f lp.pre
 %pre -n system-user-nobody -f nobody.pre
 %post -n system-user-nobody
-/usr/sbin/usermod -s /bin/bash nobody
+test -x /usr/sbin/usermod && /usr/sbin/usermod -s /bin/bash nobody ||:
 
 %pre -n system-user-upsd -f upsd.pre
 %pre -n system-user-uuidd -f uuidd.pre


Reply via email to