Cleanup install
This commit is contained in:
parent
a77f02c7bf
commit
6d8aa31c95
1 changed files with 6 additions and 4 deletions
10
install.sh
10
install.sh
|
@ -84,13 +84,15 @@ install_vim() {
|
||||||
|
|
||||||
install_linux() {
|
install_linux() {
|
||||||
if ! command -v apt-get > /dev/null; then
|
if ! command -v apt-get > /dev/null; then
|
||||||
echo apt-get is not required, but not available
|
echo apt-get is required, but not available
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install --assume-yes \
|
packages="build-essential procps curl file git cmake pkg-config\
|
||||||
build-essential procps curl file git cmake pkg-config libfreetype6-dev \
|
libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev\
|
||||||
libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3
|
libxkbcommon-dev python3"
|
||||||
|
dpkg -s $packages >/dev/null 2>&1 \
|
||||||
|
|| sudo apt-get install --assume-yes $packages
|
||||||
|
|
||||||
install_homebrew
|
install_homebrew
|
||||||
source ~/dotfiles/zsh/.zshenv
|
source ~/dotfiles/zsh/.zshenv
|
||||||
|
|
Loading…
Reference in a new issue