forked from pool/plymouth
This commit is contained in:
committed by
Git OBS Bridge
parent
8bf7153152
commit
612dfcf6db
@@ -423,11 +423,17 @@ fi
|
||||
%postun -n libply2 -p /sbin/ldconfig
|
||||
|
||||
%post theme-spinfinity
|
||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
||||
export LIB=%{_libdir}
|
||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
||||
fi
|
||||
if [ $1 -eq 1 ]; then
|
||||
set -x
|
||||
export LIB=%{_libdir}
|
||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||
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
|
||||
|
||||
%postun theme-spinfinity
|
||||
@@ -439,11 +445,17 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
|
||||
%post theme-fade-in
|
||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
||||
export LIB=%{_libdir}
|
||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
||||
fi
|
||||
if [ $1 -eq 1 ]; then
|
||||
set -x
|
||||
export LIB=%{_libdir}
|
||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||
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
|
||||
|
||||
%postun theme-fade-in
|
||||
@@ -455,11 +467,17 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
|
||||
%post theme-solar
|
||||
if [ $1 -eq 1 -a ! -e /.buildenv ]; then
|
||||
export LIB=%{_libdir}
|
||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "text" ]; then
|
||||
%{_sbindir}/plymouth-set-default-theme -R solar
|
||||
fi
|
||||
if [ $1 -eq 1 ]; then
|
||||
set -x
|
||||
export LIB=%{_libdir}
|
||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||
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
|
||||
|
||||
%postun theme-solar
|
||||
|
Reference in New Issue
Block a user