add post upgrade script to restart fixes

This commit is contained in:
Roma 2022-09-17 23:32:31 +02:00
parent 496dcd36f7
commit 57cd5cf29c
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: TROM <contact@tromsite.com> # Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-fixes pkgname=tromjaro-fixes
pkgver=1.1.1 pkgver=1.2.0
pkgrel=1 pkgrel=1
pkgdesc="Various fixes for TROMjaro OS" pkgdesc="Various fixes for TROMjaro OS"
arch=(any) arch=(any)
@ -12,6 +12,7 @@ depends=('xfce4-appfinder'
provides=('tromjaro-fixes') provides=('tromjaro-fixes')
backup=() backup=()
options=(!strip) options=(!strip)
install=fixes-package.install
prepare() { prepare() {
cp -R ../bin ../flatpak-overrides ../alpm-hooks . cp -R ../bin ../flatpak-overrides ../alpm-hooks .

6
fixes-package.install Normal file
View File

@ -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 &
}