config:zoom
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:zoom [2020/07/19 20:49] – Wulf Rajek | config:zoom [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Zoom ====== | ====== Zoom ====== | ||
+ | |||
+ | < | ||
+ | sudo apt-get install libxcb-cursor0 | ||
+ | </ | ||
< | < | ||
Line 13: | Line 17: | ||
fi | fi | ||
- | #get latest zoom version | + | function |
- | url=$(curl -s -A " | + | |
- | #get latest zoom version on web | + | |
- | mpe_ver=$(echo "$url" | sed 's/.* \([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*/ | + | |
- | current_mpe_ver=$(dpkg -s zoom | grep -i version | grep -v " | + | |
- | #convert | + | #get latest zoom version |
- | mpemv=$(echo "$mpe_ver" | + | VER_LATEST=$(curl -s -A "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/ |
- | mpecv=$(echo " | + | |
- | if [[ "$mpecv" == "" | + | #get latest installed zoom version |
+ | VER_INST=$(dpkg -s zoom | grep -i version | grep -v " | ||
+ | if [[ "$VER_INST" == "" | ||
then | then | ||
- | | + | |
fi | fi | ||
+ | |||
#download and install only if web version greater than current version | #download and install only if web version greater than current version | ||
#if main web version doesn' | #if main web version doesn' | ||
- | #$mpecv -eq 0 | + | if [ $(version $VER_INST) |
- | if [[ ${mpemv: | + | |
then | then | ||
- | echo " | + | echo " |
cd /tmp/ | cd /tmp/ | ||
wget https:// | wget https:// | ||
Line 38: | Line 39: | ||
dpkg -i zoom_amd64.deb | dpkg -i zoom_amd64.deb | ||
rm zoom_amd64.deb | rm zoom_amd64.deb | ||
- | else | + | else |
- | echo " | + | echo " |
echo "No upgrade necessary" | echo "No upgrade necessary" | ||
fi | fi | ||
Line 54: | Line 55: | ||
< | < | ||
chmod 755 / | chmod 755 / | ||
- | chmod 755 /usr/local/bin/ | + | chmod 755 /etc/cron.daily/ |
</ | </ | ||
config/zoom.1595188145.txt.gz · Last modified: (external edit)