mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 00:42:34 +01:00
apt-get -> apt
This commit is contained in:
parent
f9ddece6cb
commit
b19b406850
@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ubuntu
|
||||
if command -v apt-get &> /dev/null; then
|
||||
if command -v apt &> /dev/null; then
|
||||
echo "Installing packages for Ubuntu"
|
||||
|
||||
sudo apt-get install -y git python3 python3-pip build-essential binutils-mips-linux-gnu zlib1g-dev libyaml-dev gcc-multilib || exit 1
|
||||
sudo apt install -y git python3 python3-pip build-essential binutils-mips-linux-gnu zlib1g-dev libyaml-dev gcc-multilib || exit 1
|
||||
python3 -m pip install capstone
|
||||
|
||||
if [[ $1 == "--extra" ]]; then
|
||||
echo "Installing extra"
|
||||
sudo apt-get install -y clang-tidy astyle || exit 1
|
||||
sudo apt install -y clang-tidy astyle || exit 1
|
||||
python3 -m pip install stringcase || exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user