Files
server/var/lib/dpkg/info/plesk-rbenv.postinst
2026-01-07 20:52:11 +01:00

26 lines
422 B
Bash
Executable File

#!/bin/sh
[ -z "$PLESK_INSTALLER_DEBUG" ] || set -x
[ -z "$PLESK_INSTALLER_STRICT_MODE" ] || set -e
case "$1" in
configure)
if which systemctl 1>/dev/null 2>&1; then
systemctl daemon-reload
systemctl try-restart "dbus-com.plesk.ext.ruby.rbenv.service"
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# vim:ft=sh