Add a script to restart fixes during the package upgrade #2
|
@ -1,6 +1,6 @@
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
kill $(ps aux | grep '[f]ix-flatpaks-theming\|[f]ix-theming\|[f]ix-tweaked-desktop-files' | awk '{print $2}')
|
killall -r 'fix-(flatpaks-theming|theming|tweaked-desktop-files)'
|
||||||
fix-tweaked-desktop-files &
|
sudo -u "$SUDO_USER" setsid -f fix-tweaked-desktop-files
|
||||||
fix-theming &
|
sudo -u "$SUDO_USER" setsid -f fix-theming
|
||||||
fix-flatpaks-theming &
|
sudo -u "$SUDO_USER" setsid -f fix-flatpaks-theming
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user