From 3e03566905f51ab004b8968cea76c8d599f8dcd0 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 25 Nov 2025 17:20:49 +0200 Subject: [PATCH] Remove systemd directory --- pkg.info | 2 +- source.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg.info b/pkg.info index cff8e7c..027f93b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: glusterfs description: free and open source software scalable network filesystem version: "11.1" -revision: 1 +revision: 2 url: https://www.gluster.org/ license: GPL2-or-later,LGPL3-only architecture: any diff --git a/source.sh b/source.sh index 5116036..f714749 100644 --- a/source.sh +++ b/source.sh @@ -33,8 +33,9 @@ check() { package() { make -j1 DESTDIR="$BPM_OUTPUT" install - # Remove unwanted directory - rm -rf "$BPM_OUTPUT"/var/run + # Remove unwanted directories + rm -r "$BPM_OUTPUT"/var/run + rm -r "$BPM_OUTPUT"/usr/lib/systemd # Install documentation cp -r doc/* "$BPM_OUTPUT"/usr/share/doc/glusterfs/