Magellan Linux

Diff of /branches/magellan-next/core/ca-certificates/ca-certificates-20111211-r1.smage2

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

revision 9793 by niro, Wed Jan 11 19:29:01 2012 UTC revision 9794 by niro, Wed Jan 11 19:36:10 2012 UTC
# Line 60  src_install() Line 60  src_install()
60   cd ${BINDIR}/usr/share/ca-certificates   cd ${BINDIR}/usr/share/ca-certificates
61   find . -name '*.crt' | sort | cut -b3- >> ${BINDIR}/${MCONFIG} || die   find . -name '*.crt' | sort | cut -b3- >> ${BINDIR}/${MCONFIG} || die
62  }  }
63    
64    postinstall()
65    {
66     if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]]
67     then
68     update-ca-certificates --fresh
69     fi
70    }
71    
72    postremove()
73    {
74     if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]]
75     then
76     if [ ! -x /usr/sbin/update-ca-certificates ]
77     then
78     rm -f etc/ssl/certs/ca-certificates.crt
79     fi
80     fi
81    }

Legend:
Removed from v.9793  
changed lines
  Added in v.9794