systemd optional in postinst
parent
6326c59d03
commit
0f30f5ae78
@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
systemctl enable key-mapper
|
||||
systemctl stop key-mapper
|
||||
systemctl start key-mapper
|
||||
if [ -d "/run/systemd/system/" ]; then
|
||||
systemctl enable key-mapper
|
||||
systemctl stop key-mapper
|
||||
systemctl start key-mapper
|
||||
fi
|
||||
|
Loading…
Reference in New Issue