remove shebang in python module files and fix permissions
This commit is contained in:
		
							parent
							
								
									6a43fd3e78
								
							
						
					
					
						commit
						83cea8cd98
					
				| @ -172,6 +172,10 @@ desktop-file-install \ | ||||
| # Missed in scons install  | ||||
| install -p -m 0755 gpsinit %{buildroot}%{_sbindir} | ||||
| 
 | ||||
| # Remove shebang and fix permissions | ||||
| sed -i '/^#!.*python/d' %{buildroot}%{python3_sitearch}/gps/{aio,}gps.py | ||||
| chmod 644 %{buildroot}%{python3_sitearch}/gps/gps.py | ||||
| 
 | ||||
| # If qt build was disabled, clean up the files that may have been installed | ||||
| # anyway | ||||
| %if !%{with_qt} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user