Update install script
This commit is contained in:
parent
1d20d3801f
commit
bb53e91959
7
install
7
install
@ -41,14 +41,19 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing..."
|
echo "Installing..."
|
||||||
|
|
||||||
# remove existing comfortable-swipe
|
# remove existing comfortable-swipe
|
||||||
if [ -x "$(command -v $PROGRAM)" ]; then
|
if [ -x "$(command -v $PROGRAM)" ]; then
|
||||||
sudo rm -f $(which comfortable-swipe)
|
sudo rm -f $(which comfortable-swipe)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# compile library
|
||||||
sudo $DIR/src/compile $PROGRAM || abort
|
sudo $DIR/src/compile $PROGRAM || abort
|
||||||
|
|
||||||
GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort
|
# add permissions to input group (defer)
|
||||||
|
# GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort
|
||||||
|
|
||||||
# toggle autostart twice to refresh any changes
|
# toggle autostart twice to refresh any changes
|
||||||
$PROGRAM autostart > /dev/null || abort
|
$PROGRAM autostart > /dev/null || abort
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user