Add a script to restart fixes during the package upgrade #2
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TROMjaro/fixes-package#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "restart-scripts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +1,6 @@
post_upgrade() {
kill $(ps aux | grep '[f]ix-flatpaks-theming\|[f]ix-theming\|[f]ix-tweaked-desktop-files' | awk '{print $2}')
Here it might be better to use this command instead:
@ -0,0 +2,4 @@
kill $(ps aux | grep '[f]ix-flatpaks-theming\|[f]ix-theming\|[f]ix-tweaked-desktop-files' | awk '{print $2}')
fix-tweaked-desktop-files &
fix-theming &
fix-flatpaks-theming &
If the scripts don't work running as root then try running it like this:
Maybe it creates a sub-process under pacman and that causes some issues, so in that case its good to try this one too:
I'm still learning how these git features work, lol 😄
You're doing very good 😄
Does it work now? Or it still doesn't restart the scripts?
Yeah, unfortunately, it doesn't 😞 We got some
sudo
usage issues while testing, @tio shared an output in the TROMjaro chat.Unfortunately, this approach most probably won't work 😞 The reason is it's hard to control the scripts running on the user level from the root user or on the system level. I couldn't find any info about that so far, but we can return to this later. Closing for now.
Pull request closed