mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
acf59946b6
...
cc97e682ae
Author | SHA1 | Date |
---|---|---|
|
cc97e682ae | |
|
6ab86e5c05 |
|
@ -19,7 +19,7 @@ $STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
$STD apt-get install -y par2
|
$STD apt-get install -y par2
|
||||||
$STD apt-get install -y p7zip-full
|
$STD apt-get install -y p7zip-full
|
||||||
RELEASE=$(curl -s http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/ | grep -oP 'href="\K[^"]*unrar_7\.\d+\.\d+-\d+_amd64\.deb')
|
RELEASE=$(curl -s http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/ | grep -oP 'href="\K[^"]*unrar_7\.\d+\.\d+-\d+_amd64\.deb' | head -1)
|
||||||
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE
|
wget -q http://http.us.debian.org/debian/pool/non-free/u/unrar-nonfree/$RELEASE
|
||||||
$STD dpkg -i unrar*.deb
|
$STD dpkg -i unrar*.deb
|
||||||
rm unrar*.deb
|
rm unrar*.deb
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
function header_info {
|
function header_info {
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
______ _ __ __
|
______ _ __ __
|
||||||
/_ __/___ _(_) /_____________ _/ /__
|
/_ __/___ _(_) /_____________ _/ /__
|
||||||
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
/ / / __ `/ / / ___/ ___/ __ `/ / _ \
|
||||||
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
/ / / /_/ / / (__ ) /__/ /_/ / / __/
|
||||||
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
/_/ \__,_/_/_/____/\___/\__,_/_/\___/
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
clear
|
clear
|
||||||
|
@ -48,6 +48,7 @@ function msg() {
|
||||||
}
|
}
|
||||||
|
|
||||||
NODE=$(hostname)
|
NODE=$(hostname)
|
||||||
|
MSG_MAX_LENGTH=0
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
TAG=$(echo "$line" | awk '{print $1}')
|
TAG=$(echo "$line" | awk '{print $1}')
|
||||||
ITEM=$(echo "$line" | awk '{print substr($0,36)}')
|
ITEM=$(echo "$line" | awk '{print substr($0,36)}')
|
||||||
|
|
Loading…
Reference in New Issue