ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/srmcp.spec
(Generate patch)

Comparing COMP/CMSDIST/srmcp.spec (file contents):
Revision 1.1 by eulisse, Thu May 4 17:15:15 2006 UTC vs.
Revision 1.5 by rehn, Thu Oct 26 13:45:03 2006 UTC

# Line 1 | Line 1
1 < ### RPM external srmcp 1.23
1 > ### RPM external srmcp 1.24
2   ## INITENV +PATH PATH %i/srmclient/bin
3   ## INITENV SET SRM_PATH %i/srmclient
4   ## INITENV SET SRM_CONFIG %i/etc/config.xml
# Line 16 | Line 16 | unset SRM_PATH SRM_CONFIG || true
16   if [ ! -f $HOME/.srmconfig/config.xml ]; then
17    mkdir -p %i/etc $HOME/.srmconfig
18    SRM_PATH=%i/srmclient %i/srmclient/sbin/srm \
19 <    -copy file:///dev/null file:///dev/null > /dev/null 2>&1 || true
19 >    -copy file:////dev/null file:////dev/null > /dev/null 2>&1 || true
20    [ -f $HOME/.srmconfig/config.xml ]
21   fi
22  
# Line 25 | Line 25 | cp -p $HOME/.srmconfig/config.xml %i/etc
25   perl -p -i -e "s|$HOME|%i|" %i/etc/config.xml
26  
27   %post
28 < %{relocateConfig}.srmconfig/config.xml
28 > %{relocateConfig}etc/config.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines