Skip to content

Commit

Permalink
fix: make privileged setup not run all the time (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Feb 2, 2025
1 parent f9acd50 commit 85bf0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ublue/setup-services/src/scripts/ublue-user-setup
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ get_config() {

USER_HOOKS_DIRECTORY="$(get_config '."user-hooks-directory"' "/usr/share/ublue-os/user-setup.hooks.d")"

# Privileged setup can be called via user services
if [ -d "$USER_HOOKS_DIRECTORY" ] ; then
bash $USER_HOOKS_DIRECTORY/*
fi

pkexec bash /usr/libexec/ublue-privileged-setup
2 changes: 1 addition & 1 deletion ublue/setup-services/ublue-setup-services.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global debug_package %{nil}

Name: ublue-setup-services
Version: 0.1.1
Version: 0.1.2
Release: 1%{?dist}
Summary: Universal Blue setup services

Expand Down

0 comments on commit 85bf0f5

Please sign in to comment.