/[packages]/cauldron/antico/current/SPECS/antico.spec
ViewVC logotype

Diff of /cauldron/antico/current/SPECS/antico.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 196811 by matteo, Sat Jan 14 01:48:42 2012 UTC revision 196812 by matteo, Mon Jan 16 11:18:03 2012 UTC
# Line 2  Line 2 
2    
3  Name:           antico  Name:           antico
4  Version:        0.2  Version:        0.2
5  Release:        %mkrel -c git 4  Release:        %mkrel -c git 5
6  Summary:        Antico Desktop/Window Manager  Summary:        Antico Desktop/Window Manager
7  License:        GPLv2  License:        GPLv2
8  Url:            https://github.com/pasmatt/%{name}  Url:            https://github.com/pasmatt/%{name}
# Line 64  do Line 64  do
64          homepath=`echo "${i}" | awk -F':' '{print $2}'`          homepath=`echo "${i}" | awk -F':' '{print $2}'`
65          cp -R %{_sysconfdir}/skel/.antico "${homepath}/"          cp -R %{_sysconfdir}/skel/.antico "${homepath}/"
66          user=`echo "${i}" | awk -F':' '{print $1}'`          user=`echo "${i}" | awk -F':' '{print $1}'`
67          chown -R $user.$user "${homepath}/.antico"          chown -R $user "${homepath}/.antico"
68            cat /etc/group | grep $user 2>&1 >/dev/null
69            if [ $? -eq 0 ]; then
70                    chgrp -R $user "${homepath}/.antico"
71            else
72                    cat /etc/group | grep live 2>&1 >/dev/null
73                    if [ $? -eq 0 ]; then
74                            chgrp -R live "${homepath}/.antico"
75                    fi
76            fi
77  done  done

Legend:
Removed from v.196811  
changed lines
  Added in v.196812

  ViewVC Help
Powered by ViewVC 1.1.28