Accepting request 260352 from home:Ledest:misc
fix bashisms in post/postun scripts OBS-URL: https://build.opensuse.org/request/show/260352 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=159
This commit is contained in:
parent
e8defbc7de
commit
58318d5460
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 08 17:05:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashisms in post/postun scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 25 13:19:01 UTC 2014 - idonmez@suse.com
|
Thu Sep 25 13:19:01 UTC 2014 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -455,7 +455,7 @@ if [ $1 -eq 1 ]; then
|
|||||||
set -x
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
if [ "$OTHEME" == "text" ]; then
|
if [ "$OTHEME" = "text" ]; then
|
||||||
if [ ! -e /.buildenv ]; then
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
%{_sbindir}/plymouth-set-default-theme -R spinfinity
|
||||||
else
|
else
|
||||||
@ -467,7 +467,7 @@ fi
|
|||||||
%postun theme-spinfinity
|
%postun theme-spinfinity
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "spinfinity" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "spinfinity" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R --reset
|
%{_sbindir}/plymouth-set-default-theme -R --reset
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -477,7 +477,7 @@ if [ $1 -eq 1 ]; then
|
|||||||
set -x
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
if [ "$OTHEME" == "text" ]; then
|
if [ "$OTHEME" = "text" ]; then
|
||||||
if [ ! -e /.buildenv ]; then
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
%{_sbindir}/plymouth-set-default-theme -R fade-in
|
||||||
else
|
else
|
||||||
@ -489,7 +489,7 @@ fi
|
|||||||
%postun theme-fade-in
|
%postun theme-fade-in
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "fade-in" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "fade-in" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R --reset
|
%{_sbindir}/plymouth-set-default-theme -R --reset
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -499,7 +499,7 @@ if [ $1 -eq 1 ]; then
|
|||||||
set -x
|
set -x
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
OTHEME="$(%{_sbindir}/plymouth-set-default-theme)"
|
||||||
if [ "$OTHEME" == "text" ]; then
|
if [ "$OTHEME" = "text" ]; then
|
||||||
if [ ! -e /.buildenv ]; then
|
if [ ! -e /.buildenv ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R solar
|
%{_sbindir}/plymouth-set-default-theme -R solar
|
||||||
else
|
else
|
||||||
@ -511,7 +511,7 @@ fi
|
|||||||
%postun theme-solar
|
%postun theme-solar
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
export LIB=%{_libdir}
|
export LIB=%{_libdir}
|
||||||
if [ "$(%{_sbindir}/plymouth-set-default-theme)" == "solar" ]; then
|
if [ "$(%{_sbindir}/plymouth-set-default-theme)" = "solar" ]; then
|
||||||
%{_sbindir}/plymouth-set-default-theme -R --reset
|
%{_sbindir}/plymouth-set-default-theme -R --reset
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user