Compare commits

..

No commits in common. "a21e0df0bf5a97bd059d2bef08c99010e96fb60d" and "496dcd36f749455714832f9dafb5ba8db20bd179" have entirely different histories.

5 changed files with 2 additions and 66 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-fixes
pkgver=1.2.0
pkgver=1.1.1
pkgrel=1
pkgdesc="Various fixes for TROMjaro OS"
arch=(any)
@ -12,10 +12,9 @@ depends=('xfce4-appfinder'
provides=('tromjaro-fixes')
backup=()
options=(!strip)
install='fixes-package.install'
prepare() {
cp -R ../bin ../flatpak-overrides ../alpm-hooks ../systemd .
cp -R ../bin ../flatpak-overrides ../alpm-hooks .
}
package() {
@ -31,8 +30,4 @@ package() {
# copy flatpak overrides
install -d ${pkgdir}/var/lib/flatpak/overrides
install -Dm644 ${srcdir}/flatpak-overrides/* ${pkgdir}/var/lib/flatpak/overrides
# copy systemd units
install -d ${pkgdir}/usr/lib/systemd/user
install -Dm644 ${srcdir}/systemd/services/* ${pkgdir}/usr/lib/systemd/user
}

View File

@ -1,14 +0,0 @@
post_install() {
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
echo "Warning: A restart is required to take effect"
}
post_upgrade() {
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
echo "Warning: A restart is required to take effect"
}
pre_remove() {
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disable
echo "Warning: A restart is required to take effect"
}

View File

@ -1,15 +0,0 @@
# This service unit is for fix-flatpaks-theming script
#
[Unit]
Description=Fix flatpak theming script
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/fix-flatpaks-theming
[Install]
WantedBy=default.target

View File

@ -1,15 +0,0 @@
# This service unit is for fix-theming script
#
[Unit]
Description=Fix theming script
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/fix-theming
[Install]
WantedBy=default.target

View File

@ -1,15 +0,0 @@
# This service unit is for fix-tweaked-desktop-files script
#
[Unit]
Description=Fix tweaked desktop files script
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/usr/bin/fix-tweaked-desktop-files
[Install]
WantedBy=default.target