with an "exit 0" line at the end would be more fail safe

but using "-p /sbin/ldconfig" is requested to get the package
  accepted for openSUSE:Factory (a.k.a. openSUSE 12.1).

OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=4
This commit is contained in:
Johannes Meixner 2011-10-04 09:43:44 +00:00 committed by Git OBS Bridge
parent 070dbdbbb5
commit 2c62e9f307
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,9 @@ Tue Oct 4 09:55:34 CEST 2011 - jsmeix@suse.de
with an "/sbin/ldconfig: relative path ... used to build cache" with an "/sbin/ldconfig: relative path ... used to build cache"
which lets package build fail during "removing all built rpms". which lets package build fail during "removing all built rpms".
Therefore traditional bash scriptlets for post/postun Therefore traditional bash scriptlets for post/postun
with an "exit 0" line at the end would be more fail safe. with an "exit 0" line at the end would be more fail safe
but using "-p /sbin/ldconfig" is requested to get the package
accepted for openSUSE:Factory (a.k.a. openSUSE 12.1).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 27 11:32:17 CEST 2011 - jsmeix@suse.de Tue Sep 27 11:32:17 CEST 2011 - jsmeix@suse.de

View File

@ -112,10 +112,8 @@ done
set -x set -x
popd popd
# The post section:
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
# The postun section:
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files