This commit is contained in:
parent
8bf7153152
commit
612dfcf6db
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 21:13:14 UTC 2013 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
- Changed %post scripts so only the rebuild of the initrd is
|
||||||
|
omitted within the build environment
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 22 16:20:54 UTC 2013 - tittiatcoke@gmail.com
|
Fri Feb 22 16:20:54 UTC 2013 - tittiatcoke@gmail.com
|
||||||
|
|
||||||
|
@ -423,10 +423,16 @@ fi
|
|||||||
%postun -n libply2 -p /sbin/ldconfig
|
%postun -n libply2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post theme-spinfinity
|
%post theme-spinfinity
|
||||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme spinfinity
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -439,10 +445,16 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post theme-fade-in
|
%post theme-fade-in
|
||||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme fade-in
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -455,10 +467,16 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post theme-solar
|
%post theme-solar
|
||||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R solar
|
%{_sbindir}/plymouth-set-default-theme -R solar
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme solar
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user