From 318269bb7427f4a930f3d3698bea74ec8315e171 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 8 Apr 2023 12:37:40 +0200 Subject: [PATCH] Removed RPM package support from ApplicationUpdater --- es-app/src/ApplicationUpdater.cpp | 4 ---- es-app/src/ApplicationUpdater.h | 1 - 2 files changed, 5 deletions(-) diff --git a/es-app/src/ApplicationUpdater.cpp b/es-app/src/ApplicationUpdater.cpp index 84e4debc9..a6a306d12 100644 --- a/es-app/src/ApplicationUpdater.cpp +++ b/es-app/src/ApplicationUpdater.cpp @@ -52,8 +52,6 @@ ApplicationUpdater::ApplicationUpdater() mPackageType = PackageType::LINUX_STEAM_DECK_APPIMAGE; #elif defined(APPIMAGE_BUILD) mPackageType = PackageType::LINUX_APPIMAGE; -#elif defined(LINUX_RPM_PACKAGE) - mPackageType = PackageType::LINUX_RPM; #elif defined(LINUX_DEB_PACKAGE) mPackageType = PackageType::LINUX_DEB; #endif @@ -390,8 +388,6 @@ void ApplicationUpdater::compareVersions() mPackage = package; else if (mPackageType == PackageType::LINUX_DEB && package.name == "LinuxDEB") mPackage = package; - else if (mPackageType == PackageType::LINUX_RPM && package.name == "LinuxRPM") - mPackage = package; else if (mPackageType == PackageType::LINUX_APPIMAGE && package.name == "LinuxAppImage") mPackage = package; diff --git a/es-app/src/ApplicationUpdater.h b/es-app/src/ApplicationUpdater.h index 2f4deb3f7..0778cf883 100644 --- a/es-app/src/ApplicationUpdater.h +++ b/es-app/src/ApplicationUpdater.h @@ -60,7 +60,6 @@ private: MACOS_APPLE, MACOS_INTEL, LINUX_DEB, - LINUX_RPM, LINUX_APPIMAGE, LINUX_STEAM_DECK_APPIMAGE, UNKNOWN