From ceb889b7b5e89750ae507a5d136eeb20395fdf1a Mon Sep 17 00:00:00 2001 From: eSh Date: Sun, 18 Sep 2022 12:58:04 +0200 Subject: [PATCH] apply suggested changes --- fixes-package.install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fixes-package.install b/fixes-package.install index ed862e1..78bd6d2 100644 --- a/fixes-package.install +++ b/fixes-package.install @@ -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 } \ No newline at end of file