updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / logkeys-svn / logkeys.install
blobe9edfa753401dcc159901d8b7ab5b42b1b01c373
2 post_install() {
3         echo
4         echo "Enter the command that will be used in '/etc/rc.d/logkeys start'"
5         echo "or just press enter, then the following command will be used:"
6         echo "  logkeys --start --no-func-keys --keymap /usr/share/lkmaps/en_GB.map"
7         echo "Keyboard map files should be in /usr/share/lkmaps/"
8         read logkeys_command
9         sed -i "s/logkeys--start--command/${logkeys_command//\//\/}/g" /etc/rc.d/logkeys
12 post_upgrade() {
13   post_install $1