[fix-permissions] Add sudo for g++ compilation
This commit is contained in:
parent
46db0b7f14
commit
20f99dbf7f
2
install
2
install
@ -45,7 +45,7 @@ else
|
|||||||
fi
|
fi
|
||||||
echo "Installing..."
|
echo "Installing..."
|
||||||
# mkdir -p ~/.local/bin
|
# mkdir -p ~/.local/bin
|
||||||
g++ -std=c++11 -O2 $DIR/src/comfortable-swipe.cpp -lxdo -o $PROGRAM || exec echo "Installation aborted"
|
sudo g++ -std=c++11 -O2 $DIR/src/comfortable-swipe.cpp -lxdo -o $PROGRAM || exec echo "Installation aborted"
|
||||||
|
|
||||||
GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort
|
GROUP=$(ls -l /dev/input/event* | awk '{print $4}' | head --line=1) || abort
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user