更新 setup.sh
This commit is contained in:
3
setup.sh
3
setup.sh
@@ -40,9 +40,10 @@ for choice in $choices; do
|
|||||||
read -p "额外安装(包名): " app
|
read -p "额外安装(包名): " app
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs $app
|
apt install -y htop cbm tree ufw curl wget lsof micro git git-lfs $app
|
||||||
|
wget https://git.nvme.cc/adminroot/auto-update/raw/branch/main/app/zellij -O /usr/local/bin/zellij
|
||||||
wget https://www.7-zip.org/a/7z2501-linux-x64.tar.xz -O 7z.tar.xz
|
wget https://www.7-zip.org/a/7z2501-linux-x64.tar.xz -O 7z.tar.xz
|
||||||
tar -xf 7z.tar.xz -C /usr/local/bin/ --transform 's/7zz$/7z/' "7zz"
|
tar -xf 7z.tar.xz -C /usr/local/bin/ --transform 's/7zz$/7z/' "7zz"
|
||||||
chmod +x /usr/local/bin/7z
|
chmod +x /usr/local/bin/7z /usr/local/bin/zellij
|
||||||
rm 7z.tar.xz
|
rm 7z.tar.xz
|
||||||
;;
|
;;
|
||||||
5)
|
5)
|
||||||
|
|||||||
Reference in New Issue
Block a user