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 |
|
} |