This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit 213c6a5a56f92c3866bc74909e7519d2af64f532 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue May 30 19:12:01 2023 +0200 x2goserver.spec: if we don't support KDrive for a platform, remove the associated files. --- debian/changelog | 1 + x2goserver.spec | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index f51f9d32..fb25ceb8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -466,6 +466,7 @@ x2goserver (4.1.0.4-0x2go1.2) UNRELEASED; urgency=medium for the platforms that we provide X2Go Server for. + Exclude KDrive support for old Fedora, RHEL/CentOS/... and *SuSE distribution versions. + + If we don't support KDrive for a platform, remove the associated files. * debian/x2goserver.install: + Install bin/x2goupdateoptionsstring. + Rename x2goupdateoptionsstring to x2gooptionsstring. diff --git a/x2goserver.spec b/x2goserver.spec index 59fe59a7..0ed607d3 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -765,6 +765,14 @@ rm -f "%{buildroot}/%{_prefix}/lib/tmpfiles.d/x2goserver.conf" # We just need this here for the %ghost directory to work. touch "%{buildroot}/%{_sysconfdir}/x2go/applications" +# In case we explicitly do not support KDrive for a platform, remove the +# associated filed. +%if ! 0%{?support_kdrive} +rm -f "%{buildroot}/%{_datadir}/x2go/versions/VERSION.x2goserver-x2gokdrive" \ + "%{buildroot}/%{_datadir}/x2go/x2gofeature.d/x2goserver-x2gokdrive.features" \ + "%{buildroot}/%{_sysconfdir}/x2go/x2gokdrive.options" +%endif + %pre common if ! getent group x2gouser 1>/dev/null; then -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git