16 lines
246 B
Text
16 lines
246 B
Text
|
#!/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
|
||
|
|