mirror of
https://github.com/rui314/mold.git
synced 2024-09-17 16:09:43 +03:00
Automatically download the latest repo files
This commit is contained in:
parent
c9803c8984
commit
2b7b45c8d1
@ -11,12 +11,12 @@ set -x
|
||||
|
||||
case "$ID-$VERSION_ID" in
|
||||
ubuntu-20.* | pop-20.*)
|
||||
[ "$1" = update ] && apt-get update
|
||||
apt-get update
|
||||
apt-get install -y cmake libssl-dev zlib1g-dev gcc g++ g++-10
|
||||
apt-get install -y file
|
||||
;;
|
||||
ubuntu-* | pop-* | linuxmint-* | debian-* | raspbian-*)
|
||||
[ "$1" = update ] && apt-get update
|
||||
apt-get update
|
||||
apt-get install -y cmake libssl-dev zlib1g-dev gcc g++
|
||||
apt-get install -y file
|
||||
;;
|
||||
@ -33,11 +33,11 @@ opensuse-tumbleweed-*)
|
||||
zypper install -y glibc-devel-static tar diffutils util-linux
|
||||
;;
|
||||
gentoo-*)
|
||||
[ "$1" = update ] && emerge-webrsync
|
||||
emerge-webrsync
|
||||
emerge dev-util/cmake sys-libs/zlib
|
||||
;;
|
||||
arch-*)
|
||||
[ "$1" = update ] && pacman -Sy
|
||||
pacman -Sy
|
||||
pacman -S --needed --noconfirm base-devel zlib openssl cmake util-linux
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user