fix permissions
This commit is contained in:
commit
01852945b4
4 changed files with 51 additions and 25 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -2,8 +2,8 @@
|
|||
# Maintainer: Librewish <librewish@gmail.com>
|
||||
|
||||
pkgname=garuda-common-settings
|
||||
pkgver=1.2.1
|
||||
pkgrel=2
|
||||
pkgver=1.2.3
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||
license=('GPL')
|
||||
|
@ -17,7 +17,7 @@ depends=('garuda-icons'
|
|||
'haveged'
|
||||
'irqbalance'
|
||||
'systemd-swap'
|
||||
'nohang-git'
|
||||
'nohang'
|
||||
'prelockd'
|
||||
'memavaild'
|
||||
'ananicy'
|
||||
|
|
8
etc/systemd/system/etc-pacman.d-gnupg.mount
Normal file
8
etc/systemd/system/etc-pacman.d-gnupg.mount
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Temporary /etc/pacman.d/gnupg directory
|
||||
|
||||
[Mount]
|
||||
What=tmpfs
|
||||
Where=/etc/pacman.d/gnupg
|
||||
Type=tmpfs
|
||||
Options=mode=0755
|
16
etc/systemd/system/pacman-init.service
Normal file
16
etc/systemd/system/pacman-init.service
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=Initializes Pacman keyring
|
||||
Wants=haveged.service
|
||||
After=haveged.service
|
||||
Requires=etc-pacman.d-gnupg.mount
|
||||
After=etc-pacman.d-gnupg.mount
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/pacman-key --init
|
||||
ExecStart=/usr/bin/pacman-key --populate chaotic
|
||||
ExecStart=/usr/bin/pacman-key --populate archlinux
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -7,38 +7,40 @@ msg() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
systemctl enable haveged
|
||||
systemctl enable systemd-swap
|
||||
systemctl enable irqbalance
|
||||
systemctl enable nohang-desktop
|
||||
systemctl enable memavaild
|
||||
systemctl enable prelockd
|
||||
systemctl enable ananicy
|
||||
systemctl enable preload
|
||||
systemctl enable grub-btrfs.path
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable btrfs-scrub.timer
|
||||
systemctl enable btrfs-defrag.timer
|
||||
systemctl enable btrfs-balance.timer
|
||||
systemctl enable btrfs-defrag.timer
|
||||
systemctl enable btrfs-scrub.timer
|
||||
systemctl enable btrfs-trim.timer
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable grub-btrfs.path
|
||||
systemctl enable haveged
|
||||
systemctl enable irqbalance
|
||||
systemctl enable memavaild
|
||||
systemctl enable nohang-desktop
|
||||
systemctl enable pacman-init
|
||||
systemctl enable preload
|
||||
systemctl enable prelockd
|
||||
systemctl enable systemd-swap
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
msg "Attempting to enable services..."
|
||||
systemctl is-active haveged >/dev/null || systemctl enable haveged
|
||||
systemctl is-active systemd-swap >/dev/null || systemctl enable systemd-swap
|
||||
systemctl is-active irqbalance >/dev/null || systemctl enable irqbalance
|
||||
systemctl is-active nohang-desktop >/dev/null || systemctl enable nohang-desktop
|
||||
systemctl is-active memavaild >/dev/null || systemctl enable memavaild
|
||||
systemctl is-active prelockd >/dev/null || systemctl enable prelockd
|
||||
systemctl is-active ananicy >/dev/null || systemctl enable ananicy
|
||||
systemctl is-active preload >/dev/null || systemctl enable preload
|
||||
systemctl is-active grub-btrfs.path >/dev/null || systemctl enable grub-btrfs.path
|
||||
systemctl is-active fstrim.timer >/dev/null || systemctl enable fstrim.timer
|
||||
systemctl is-active btrfs-scrub.timer >/dev/null || systemctl enable btrfs-scrub.timer
|
||||
systemctl is-active btrfs-defrag.timer >/dev/null || systemctl enable btrfs-defrag.timer
|
||||
systemctl is-active btrfs-balance.timer >/dev/null || systemctl enable btrfs-balance.timer
|
||||
systemctl is-active btrfs-defrag.timer >/dev/null || systemctl enable btrfs-defrag.timer
|
||||
systemctl is-active btrfs-scrub.timer >/dev/null || systemctl enable btrfs-scrub.timer
|
||||
systemctl is-active btrfs-trim.timer >/dev/null || systemctl enable btrfs-trim.timer
|
||||
systemctl is-active fstrim.timer >/dev/null || systemctl enable fstrim.timer
|
||||
systemctl is-active grub-btrfs.path >/dev/null || systemctl enable grub-btrfs.path
|
||||
systemctl is-active haveged >/dev/null || systemctl enable haveged
|
||||
systemctl is-active irqbalance >/dev/null || systemctl enable irqbalance
|
||||
systemctl is-active memavaild >/dev/null || systemctl enable memavaild
|
||||
systemctl is-active nohang-desktop >/dev/null || systemctl enable nohang-desktop
|
||||
systemctl is-active pacman-init >/dev/null || systemctl enable pacman-init
|
||||
systemctl is-active preload >/dev/null || systemctl enable preload
|
||||
systemctl is-active prelockd >/dev/null || systemctl enable prelockd
|
||||
systemctl is-active systemd-swap >/dev/null || systemctl enable systemd-swap
|
||||
|
||||
echo ""
|
||||
msg "Updating font cache..."
|
||||
|
|
Loading…
Reference in a new issue