Skip to content

Commit

Permalink
make cmsswdata and g4data readable by all
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Oct 15, 2022
1 parent 59c8356 commit c5e584f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmsswdata.file
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ done
cat %i/searchpath.xml >> %i/etc/scram.d/cmsswdata.xml
echo " </tool>" >> %i/etc/scram.d/cmsswdata.xml
rm -f %i/searchpath.xml
chmod +r %i/etc/scram.d/cmsswdata.xml
chmod a+r %i/etc/scram.d/cmsswdata.xml

%post
%{relocateConfig}etc/scram.d/*.xml
Expand Down
2 changes: 1 addition & 1 deletion geant4data.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for tool in `echo %requiredtools | tr ' ' '\n' | grep 'geant4-'` ; do
echo " <runtime name=\"$toolenv\" value=\"$tooldata\" type=\"path\"/>" >> %i/etc/scram.d/geant4data.xml
done
echo "</tool>" >> %i/etc/scram.d/geant4data.xml
chmod +r %i/etc/scram.d/geant4data.xml
chmod a+r %i/etc/scram.d/geant4data.xml

%post
if [ "X$CMS_INSTALL_PREFIX" = "X" ] ; then CMS_INSTALL_PREFIX=$RPM_INSTALL_PREFIX; export CMS_INSTALL_PREFIX; fi
Expand Down

0 comments on commit c5e584f

Please sign in to comment.