input-remapper/DEBIAN/postinst

7 lines
192 B
Bash
Executable File

#!/bin/bash
if [ -d "/run/systemd/system/" ]; then
pkill -f key-mapper-service # might have been started by the gui previously
systemctl enable key-mapper
systemctl start key-mapper
fi