Compare commits
5 Commits
a9a7ce9bad
...
90f98c64cc
Author | SHA1 | Date | |
---|---|---|---|
90f98c64cc | |||
00dcf0b9e9 | |||
a21e0df0bf | |||
eadb766da5 | |||
8258eaf1d1 |
12
PKGBUILD
12
PKGBUILD
@ -1,6 +1,6 @@
|
||||
# Maintainer: TROM <contact@tromsite.com>
|
||||
pkgname=tromjaro-fixes
|
||||
pkgver=1.1.1
|
||||
pkgver=1.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Various fixes for TROMjaro OS"
|
||||
arch=(any)
|
||||
@ -24,11 +24,6 @@ package() {
|
||||
install -Dm755 ${srcdir}/bin/standalone/* ${pkgdir}/usr/bin
|
||||
install -Dm755 ${srcdir}/bin/periodic/* ${pkgdir}/usr/bin
|
||||
|
||||
# copy systemd units
|
||||
install -d ${pkgdir}/usr/lib/systemd/user
|
||||
install -Dm644 ${srcdir}/systemd/services/* ${pkgdir}/usr/lib/systemd/user
|
||||
install -Dm644 ${srcdir}/systemd/timers/* ${pkgdir}/usr/lib/systemd/user
|
||||
|
||||
# copy alpm hooks
|
||||
install -d ${pkgdir}/usr/share/libalpm/hooks
|
||||
install -Dm644 ${srcdir}/alpm-hooks/* ${pkgdir}/usr/share/libalpm/hooks
|
||||
@ -36,4 +31,9 @@ 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
|
||||
install -Dm644 ${srcdir}/systemd/timers/* ${pkgdir}/usr/lib/systemd/user
|
||||
}
|
||||
|
@ -1,23 +1,14 @@
|
||||
post_install() {
|
||||
systemctl --global daemon-reload
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global start
|
||||
echo "A restart is required for the changes to take effect"
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
systemctl --global daemon-reload
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global restart
|
||||
echo "A restart is required for the changes to take effect"
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global stop
|
||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global disable
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
systemctl --global daemon-reload
|
||||
echo "A restart is required for the changes to take effect"
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
@ -10,4 +10,4 @@ Type=oneshot
|
||||
ExecStart=/usr/bin/fix-flatpaks-theming
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=default.target
|
||||
|
@ -10,4 +10,4 @@ Type=oneshot
|
||||
ExecStart=/usr/bin/fix-theming
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=default.target
|
||||
|
@ -10,4 +10,4 @@ Type=oneshot
|
||||
ExecStart=/usr/bin/fix-tweaked-desktop-files
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=default.target
|
||||
|
Loading…
Reference in New Issue
Block a user