package-pipelines-miscellan.../ydotool/debian.postinst

16 lines
246 B
Text
Raw Normal View History

2024-11-23 21:41:00 +01:00
#!/bin/bash
set -e
if [[ "$1" == "configure" ]]; then
if ! getent group ydotool >/dev/null; then
groupadd --system ydotool
fi
deb-systemd-helper enable ydotoold.service
deb-systemd-invoke restart ydotoold.service
fi