input-remapper/DEBIAN/postinst

12 lines
366 B
Plaintext
Raw Normal View History

#!/bin/bash
2020-12-25 14:00:57 +00:00
if [ -d "/run/systemd/system/" ]; then
2022-01-01 12:00:49 +00:00
# old name, those lines should at some point be removed from postinst
pkill -f key-mapper-service
systemctl disable key-mapper
systemctl stop key-mapper
pkill -f input-remapper-service # might have been started by the gui previously
systemctl enable input-remapper
systemctl start input-remapper
2020-12-25 14:00:57 +00:00
fi