Use the rpm version instead
This commit is contained in:
@@ -10,18 +10,18 @@ version="v3.0.72.1-rc1"
|
|||||||
base_name="synergy-linux_x64-libssl3"
|
base_name="synergy-linux_x64-libssl3"
|
||||||
|
|
||||||
# Define file URL
|
# Define file URL
|
||||||
url="https://rc.symless.com/synergy3/${version}/${base_name}-${version}.flatpak"
|
url="https://rc.symless.com/synergy3/${version}/${base_name}-${version}.rpm"
|
||||||
|
|
||||||
# Define file name
|
# Define file name
|
||||||
file="/tmp/${base_name}-${version}.flatpak"
|
file="/tmp/${base_name}-${version}.rpm"
|
||||||
|
|
||||||
# Download file
|
# Download file
|
||||||
echo "Downloading file..."
|
echo "Downloading file..."
|
||||||
wget -O "$file" "$url"
|
wget -O "$file" "$url"
|
||||||
|
|
||||||
# Install the package
|
# Install the package using rpm
|
||||||
echo "Installing package..."
|
echo "Installing package..."
|
||||||
flatpak install -y "$file"
|
rpm -i "$file"
|
||||||
|
|
||||||
# Remove the downloaded file
|
# Remove the downloaded file
|
||||||
echo "Removing the downloaded file..."
|
echo "Removing the downloaded file..."
|
||||||
Reference in New Issue
Block a user