From 57cd5cf29c7cb0088b8f9c43b94a55546e802eb2 Mon Sep 17 00:00:00 2001 From: eSh Date: Sat, 17 Sep 2022 23:32:31 +0200 Subject: [PATCH] add post upgrade script to restart fixes --- PKGBUILD | 3 ++- fixes-package.install | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 fixes-package.install diff --git a/PKGBUILD b/PKGBUILD index 08e9001..4a54c47 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: TROM pkgname=tromjaro-fixes -pkgver=1.1.1 +pkgver=1.2.0 pkgrel=1 pkgdesc="Various fixes for TROMjaro OS" arch=(any) @@ -12,6 +12,7 @@ depends=('xfce4-appfinder' provides=('tromjaro-fixes') backup=() options=(!strip) +install=fixes-package.install prepare() { cp -R ../bin ../flatpak-overrides ../alpm-hooks . diff --git a/fixes-package.install b/fixes-package.install new file mode 100644 index 0000000..ed862e1 --- /dev/null +++ b/fixes-package.install @@ -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}') + fix-tweaked-desktop-files & + fix-theming & + fix-flatpaks-theming & +} \ No newline at end of file