1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

fix permissions

This commit is contained in:
Shrinivas Vishnu Kumbhar 2021-04-06 15:39:52 +05:30
commit 01852945b4
4 changed files with 51 additions and 25 deletions

View file

@ -2,8 +2,8 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=1.2.1 pkgver=1.2.3
pkgrel=2 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL') license=('GPL')
@ -17,7 +17,7 @@ depends=('garuda-icons'
'haveged' 'haveged'
'irqbalance' 'irqbalance'
'systemd-swap' 'systemd-swap'
'nohang-git' 'nohang'
'prelockd' 'prelockd'
'memavaild' 'memavaild'
'ananicy' 'ananicy'

View 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

View 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

View file

@ -7,38 +7,40 @@ msg() {
} }
post_install() { 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 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-balance.timer
systemctl enable btrfs-defrag.timer
systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.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() { post_upgrade() {
msg "Attempting to enable services..." 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 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-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 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 "" echo ""
msg "Updating font cache..." msg "Updating font cache..."