apply suggested changes

This commit is contained in:
Roma 2022-09-18 12:58:04 +02:00
parent 7446f5ce65
commit ceb889b7b5

View File

@ -1,6 +1,6 @@
post_upgrade() {
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 &
killall -r 'fix-(flatpaks-theming|theming|tweaked-desktop-files)'
sudo -u "$SUDO_USER" setsid -f fix-tweaked-desktop-files
sudo -u "$SUDO_USER" setsid -f fix-theming
sudo -u "$SUDO_USER" setsid -f fix-flatpaks-theming
}