Skip to content

Commit

Permalink
Merge pull request #24 from CESNET/fuse-config
Browse files Browse the repository at this point in the history
spec-file - Add post-install script to enable user_allow_other
  • Loading branch information
SiskaPavel authored Oct 6, 2024
2 parents 93f8daa + 78ed927 commit 98e6d06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/rpm/telemetry.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ telemetry data in your program.
%install
%cmake_install

%post
# Add a line to /etc/fuse.conf if it doesn't already exist
if ! grep -q "^user_allow_other" /etc/fuse.conf; then
echo "user_allow_other" >> /etc/fuse.conf
fi

%files
%license LICENSE
%{_libdir}/libtelemetry.so
Expand Down

0 comments on commit 98e6d06

Please sign in to comment.