Magellan Linux

Diff of /smage/trunk/core/plymouth-theme-alx/plymouth-theme-alx-1.0-r1.smage2

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

revision 4657 by niro, Thu Mar 21 10:45:56 2013 UTC revision 4658 by niro, Thu Mar 21 11:26:01 2013 UTC
# Line 19  sminclude mtools cleanutils Line 19  sminclude mtools cleanutils
19  SRC_URI=( mirror://${PNAME}/${SRCFILE} )  SRC_URI=( mirror://${PNAME}/${SRCFILE} )
20    
21  UP2DATE="echo ${PVER}"  UP2DATE="echo ${PVER}"
22    
23    postinstall()
24    {
25     if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
26     then
27     plymouth-set-default-theme alx
28     /usr/$(mlibdir)/plymouth/plymouth/plymouth-generate-initrd
29     fi
30    }
31    
32    postremove()
33    {
34     if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
35     then
36     if [[ -z $(plymouth-set-default-theme --list | grep alx) ]]
37     then
38     plymouth-set-default-theme --reset
39     /usr/$(mlibdir)/plymouth/plymouth/plymouth-generate-initrd
40     fi
41     fi
42    }

Legend:
Removed from v.4657  
changed lines
  Added in v.4658