Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkgbuilds/omarchy-settings-dev/omarchy-settings-dev.install
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ post_upgrade() {
}

post_remove() {
# Removing this package also removes the boot-time tmpfiles rule that owns
# this namespace, so revoke any live Omarchy grant in the same transaction.
rm -f -- /etc/sudoers.d/99-omarchy-nopasswd-*

# Restore the standard Arch selector if removing this package left its exact
# Omarchy link dangling. During a stable/dev replacement, the incoming
# package either still supplies the target or replaces this link afterward.
Expand Down
4 changes: 4 additions & 0 deletions pkgbuilds/omarchy-settings/omarchy-settings.install
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ post_upgrade() {
}

post_remove() {
# Removing this package also removes the boot-time tmpfiles rule that owns
# this namespace, so revoke any live Omarchy grant in the same transaction.
rm -f -- /etc/sudoers.d/99-omarchy-nopasswd-*

# Restore the standard Arch selector if removing this package left its exact
# Omarchy link dangling. During a stable/dev replacement, the incoming
# package either still supplies the target or replaces this link afterward.
Expand Down