Add script for zoom repo
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e7ce182d1d
commit
4385320959
1 changed files with 10 additions and 0 deletions
10
files/zoom_repo.sh
Normal file
10
files/zoom_repo.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wget https://zoom.us/client/latest/zoom_x86_64.rpm
|
||||
if [ ! -e adrilinux/zoom/$(rpm -qp --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}' zoom_x86_64.rpm).rpm ]; then
|
||||
mv zoom_x86_64.rpm adrilinux/zoom/$(rpm -qp --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}' zoom_x86_64.rpm).rpm
|
||||
else
|
||||
rm -f zoom_x86_64.rpm
|
||||
fi
|
||||
createrepo adrilinux/zoom/
|
||||
curl https://zoom.us/linux/download/pubkey -o adrilinux/zoom/pubkey
|
||||
Loading…
Add table
Add a link
Reference in a new issue