PN: anki-robot-target
PV: 1.0
PR: r0
PKGV: 1.0
PKGR: r0@EXTENDPRAUTO@
LICENSE: Anki-Inc.-Proprietary
DESCRIPTION: anki-robot.target systemd
SUMMARY: anki-robot-target version 1.0-r0
SECTION: base
PKG:anki-robot-target: anki-robot-target
FILES:anki-robot-target: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib/*.so.*             /lib/udev /usr/lib/udev             /usr/lib/udev /usr/lib/udev             /usr/share/anki-robot-target /usr/lib/anki-robot-target/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib/bonobo/servers /etc/sudoers.d/anki /usr/lib/systemd/system/ /usr/lib/systemd/system-preset/98-anki-robot-target.preset /usr/lib/systemd/system/anki-robot.target
FILES_INFO:anki-robot-target: {"/etc/sudoers.d/anki": 631, "/usr/lib/systemd/system-preset/98-anki-robot-target.preset": 25, "/usr/lib/systemd/system/anki-robot.target": 90, "/usr/lib/systemd/system/multi-user-done.service": 511, "/usr/lib/systemd/system/multi-user.target.wants/multi-user-done.service": 47, "/usr/lib/systemd/system/multi-user.target.wants/start-anki.service": 42, "/usr/lib/systemd/system/start-anki.service": 230, "/usr/lib/systemd/system/victor.target": 41}
pkg_postinst:anki-robot-target: #!/bin/sh\nset -e\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 anki-robot.target; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "anki-robot.target" ] && \\\n\t\t\tsystemctl preset anki-robot.target\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "anki-robot.target" ] && \\\n\t\t\t\tsystemctl --no-block restart anki-robot.target\n\t\tfi\n\tfi\nfi\n
pkg_prerm:anki-robot-target: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tif [ -n "anki-robot.target" ]; then\n\t\t\tsystemctl stop anki-robot.target\n\t\t\tsystemctl disable anki-robot.target\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global disable \n\tfi\nfi\n
PKGSIZE:anki-robot-target: 1617
