You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
312 B
Bash
14 lines
312 B
Bash
#!/usr/bin/env bash
|
|
|
|
# in case setup.py does nothing instead of something.
|
|
# call via `./scripts/build.sh`
|
|
|
|
# try both ways of installation
|
|
sudo pip3 install .
|
|
sudo python3 setup.py install
|
|
|
|
# copy crucial files
|
|
sudo cp bin/* /usr/bin/ -r
|
|
sudo mkdir /usr/share/key-mapper
|
|
sudo cp data/* /usr/share/key-mapper -r
|