Sophie Hirn 1 year ago
parent
commit
d8566af823
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions
  1. +5
    -5
      .beacon/fetch
  2. +1
    -0
      .gitignore

+ 5
- 5
.beacon/fetch View File

@@ -1,12 +1,12 @@
#!/bin/bash

ver="4.4.1"
ver="4.4.2"
fname="Linphone-${ver}.AppImage"
url="https://www.linphone.org/releases/linux/app/Linphone-4.4.1.AppImage"
url="https://www.linphone.org/releases/linux/app/${fname}"

if [ ! -e "root/opt/Linphone.AppImage" ]; then
wget "$url"
if [ ! -e "root/opt/Linphone.AppImage" ] || [ "$(cat .ver)" != "$ver" ]; then
mkdir -p root/opt
mv "$fname" root/opt/Linphone.AppImage
wget "$url" -O "root/opt/Linphone.AppImage"
chmod +x root/opt/Linphone.AppImage
echo "$ver" >.ver
fi

+ 1
- 0
.gitignore View File

@@ -1,2 +1,3 @@
visited
root/opt/
.ver

Loading…
Cancel
Save