PN: run-postinsts
PV: 1.0
PR: r10
PKGV: 1.0
PKGR: r10@EXTENDPRAUTO@
LICENSE: MIT
DESCRIPTION: Runs postinstall scripts on first boot of the target device
SUMMARY: Runs postinstall scripts on first boot of the target device
RRECOMMENDS:run-postinsts:  update-rc.d
SECTION: devel
PKG:run-postinsts: run-postinsts
FILES:run-postinsts: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /bin/* /sbin/*             /lib/*.so.*             /lib/udev /usr/lib/udev             /lib/udev /usr/lib/udev             /usr/share/run-postinsts /usr/lib/run-postinsts/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /lib/systemd/system-preset/98-run-postinsts.preset /lib/systemd/system/run-postinsts.service
FILES_INFO:run-postinsts: {"/etc/init.d/run-postinsts": 25, "/lib/systemd/system-preset/98-run-postinsts.preset": 29, "/lib/systemd/system/run-postinsts.service": 357, "/usr/sbin/run-postinsts": 1946}
pkg_postinst:run-postinsts: #!/bin/sh\nset -e\nif [ -n "$D" -o ! -d /run/systemd/system ] && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-r $D"\n\telse\n\t\tOPT="-s"\n\tfi\n\tupdate-rc.d $OPT run-postinsts start 99 S .\nfi\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in run-postinsts.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\tsystemctl daemon-reload\n\t\tsystemctl preset run-postinsts.service\n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\tsystemctl --no-block restart run-postinsts.service\n\t\tfi\n\tfi\nfi\n
pkg_postrm:run-postinsts: #!/bin/sh\nset -e\nif [ -n "$D" -o ! -d /run/systemd/system ] && type update-rc.d >/dev/null 2>/dev/null; then\n\tif [ -n "$D" ]; then\n\t\tOPT="-f -r $D"\n\telse\n\t\tOPT="-f"\n\tfi\n\tupdate-rc.d $OPT run-postinsts remove\nfi\n
pkg_prerm:run-postinsts: #!/bin/sh\nset -e\nif [ -n "$D" -o ! -d /run/systemd/system ] && [ -z "$D" -a -x "/etc/init.d/run-postinsts" ]; then\n\t/etc/init.d/run-postinsts stop || :\nfi\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tsystemctl stop run-postinsts.service\n\n\t\tsystemctl disable run-postinsts.service\n\tfi\nfi\n
FILERDEPENDSFLIST:run-postinsts: /etc/init.d/run-postinsts /usr/sbin/run-postinsts
FILERDEPENDS:/etc/init.d/run-postinsts:run-postinsts:  /bin/sh
FILERDEPENDS:/usr/sbin/run-postinsts:run-postinsts:  /bin/sh
PKGSIZE:run-postinsts: 2357
