spiegel-keyman/linux/keyman-config/debian/python3-keyman-config.config
glasseyes 910d6780ec debconf question for making keyman dirs mode 777
This allows all users to install keyboards and only the
user that installed one to uninstall it

more setup instructions in README.md
2018-09-01 11:43:34 +07:00

16 lines
398 B
Bash

#!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
db_input high python3-keyman-config/keymandir || true
db_go
db_get python3-keyman-config/keymandir
if [ "$RET" = "true" ]; then
if [ -e /usr/local/share/keyman ]; then
chmod --quiet 00777 /usr/local/share/keyman
chmod --quiet 00777 /usr/local/share/doc/keyman
chmod --quiet 00777 /usr/local/share/fonts/keyman
fi
fi