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,11 +423,17 @@ 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
|
||||||
export LIB=%{_libdir}
|
set -x
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
export LIB=%{_libdir}
|
||||||
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
fi
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
|
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme spinfinity
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun theme-spinfinity
|
%postun theme-spinfinity
|
||||||
@ -439,11 +445,17 @@ 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
|
||||||
export LIB=%{_libdir}
|
set -x
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
export LIB=%{_libdir}
|
||||||
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
fi
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
|
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme fade-in
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun theme-fade-in
|
%postun theme-fade-in
|
||||||
@ -455,11 +467,17 @@ 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
|
||||||
export LIB=%{_libdir}
|
set -x
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
export LIB=%{_libdir}
|
||||||
%{_sbindir}/plymouth-set-default-theme -R solar
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
fi
|
if [ "$OTHEME" == "text" ]; then
|
||||||
|
if [ ! -e /.buildenv ]; then
|
||||||
|
%{_sbindir}/plymouth-set-default-theme -R solar
|
||||||
|
else
|
||||||
|
%{_sbindir}/plymouth-set-default-theme solar
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun theme-solar
|
%postun theme-solar
|
||||||
|
Loading…
Reference in New Issue
Block a user