Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster cc97e682ae
Update add-tailscale-lxc.sh
tweak
2023-11-25 14:03:23 -05:00
tteckster 6ab86e5c05
Update sabnzbd-install.sh
fix release variable
2023-11-25 10:19:33 -05:00
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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)}')