mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Add Python3 and pip check to install.sh
This commit is contained in:
parent
adc91d6af2
commit
aa5e5f3361
1 changed files with 12 additions and 0 deletions
|
@ -38,3 +38,15 @@ native_file_escaped=$(sed 's/[&/\]/\\&/g' <<< "$native_file")
|
|||
|
||||
sed -i.bak "s/REPLACE_ME_WITH_SED/$native_file_escaped/" "$manifest_file"
|
||||
chmod +x $native_file
|
||||
|
||||
# Requirements for native messenger
|
||||
python_path=$(which python3)
|
||||
pip_path=$(which pip3)
|
||||
if [[ -x "$python_path" ]] && [[ -x "$pip_path" ]]; then
|
||||
echo "Python 3 and pip found."
|
||||
# pip3 install --user tinycss2
|
||||
# put dependencies here
|
||||
else
|
||||
echo "Error: Python 3 and pip3 must exist in PATH."
|
||||
echo "Please install them and run this script again."
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue