Move library to root

This commit is contained in:
Rico Tiongson committed 2019-02-12 19:04:31 +08:00
1 parent 68bea125e3
commit 602b148fb4
21 files changed
+6 -8

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
DIR=$(dirname $0)
PROGRAM=/usr/local/bin/comfortable-swipe
CONF_PATH=/usr/local/share/comfortable-swipe/comfortable-swipe.conf
DCONF_PATH=$DIR/src/defaults.conf
DCONF_PATH=$DIR/defaults.conf
OLD_CONF_PATH=${XDG_CONFIG_HOME:-$HOME/.config}/comfortable-swipe.conf
if [ -x "$(command -v $PROGRAM)" ]; then
@@ -50,7 +50,7 @@ if [ -x "$(command -v $PROGRAM)" ]; then
fi
# compile library
sudo $DIR/src/compile $PROGRAM || abort
sudo $DIR/compile.sh $PROGRAM || abort
# add permissions to input group (defer)
# GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort