Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2021-10-25 15:17:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Mon Oct 25 15:17:41 2021 rev:32 rq:927295 version:0.8.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2021-10-18 
22:03:03.978131512 +0200
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.1890/suse-prime.changes  
2021-10-25 15:18:50.365728379 +0200
@@ -1,0 +2,7 @@
+Mon Oct 25 10:41:40 UTC 2021 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.4
+  * Make sure tools like modinfo are found also by non-root users
+    (issue#72)  
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.8.3.tar.gz

New:
----
  SUSEPrime-0.8.4.tar.gz

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

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.9oAodf/_old  2021-10-25 15:18:50.769728631 +0200
+++ /var/tmp/diff_new_pack.9oAodf/_new  2021-10-25 15:18:50.773728634 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           suse-prime
-Version:        0.8.3
+Version:        0.8.4
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops with 
bbswitch support
 License:        SUSE-Public-Domain

++++++ SUSEPrime-0.8.3.tar.gz -> SUSEPrime-0.8.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.8.3/prime-select.sh 
new/SUSEPrime-0.8.4/prime-select.sh
--- old/SUSEPrime-0.8.3/prime-select.sh 2021-10-18 14:19:55.000000000 +0200
+++ new/SUSEPrime-0.8.4/prime-select.sh 2021-10-25 12:37:33.000000000 +0200
@@ -50,6 +50,11 @@
 # Make sure /etc/prime exists, so /etc/prime/current_type can be written
 test -d /etc/prime || mkdir -p /etc/prime
 
+# Make sure tools like modinfo are found also by non-root users (issue#72)
+if (( $EUID != 0 )); then
+    export PATH=/sbin:/usr/sbin:$PATH
+fi
+
 function usage {
     echo
     echo "NVIDIA/Intel video card selection for NVIDIA Optimus laptops."

Reply via email to