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

enable ananicy-cpp and update pacman files in update command

This commit is contained in:
librewish 2021-09-24 11:03:42 +05:30
parent d74438ee6f
commit 2b77bb7f53
3 changed files with 16 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=2.1.1 pkgver=2.1.2
pkgrel=1 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"
@ -14,6 +14,8 @@ depends=('btrfsmaintenance'
'garuda-browser-settings' 'garuda-browser-settings'
'garuda-hooks' 'garuda-hooks'
'garuda-icons' 'garuda-icons'
'ananicy-cpp'
'ananicy-rules-git'
'haveged' 'haveged'
'memavaild' 'memavaild'
'nohang' 'nohang'
@ -22,8 +24,7 @@ depends=('btrfsmaintenance'
'profile-sync-daemon' 'profile-sync-daemon'
'zram-generator' 'zram-generator'
'garuda-bash-config') 'garuda-bash-config')
optdepends=('ananicy-cpp: Automatically set nice levels for apps' optdepends=('irqbalance: Better distribute load between CPUs'
'irqbalance: Better distribute load between CPUs'
'performance-tweaks: Tuning for best performance' 'performance-tweaks: Tuning for best performance'
'powersave-tweaks: Tuning for lower power usage' 'powersave-tweaks: Tuning for lower power usage'
'uresourced: Allocate more ressources for the graphical user') 'uresourced: Allocate more ressources for the graphical user')

View file

@ -4,6 +4,7 @@ post_install() {
systemctl enable btrfs-scrub.timer systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer systemctl enable btrfs-trim.timer
systemctl enable garuda-pacman-lock systemctl enable garuda-pacman-lock
systemctl enable ananicy-cpp
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop systemctl enable nohang-desktop
@ -21,6 +22,7 @@ post_upgrade() {
systemctl enable btrfs-scrub.timer systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer systemctl enable btrfs-trim.timer
systemctl enable garuda-pacman-lock systemctl enable garuda-pacman-lock
systemctl enable ananicy-cpp
systemctl enable haveged systemctl enable haveged
systemctl enable memavaild systemctl enable memavaild
systemctl enable nohang-desktop systemctl enable nohang-desktop

View file

@ -28,6 +28,16 @@ if [ -x /usr/bin/reflector ]; then
sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist || { echo -e "\033[1;31m\nFailed to update mirrorlist\n\033[0m"; } sudo reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist || { echo -e "\033[1;31m\nFailed to update mirrorlist\n\033[0m"; }
fi fi
echo ""
# Update pacman Files database
echo "Checking pacman files database update.."
sudo pacman -Fy
echo ""
echo "pacman files database updated!"
echo ""
# Check for keyring update & update as needed # Check for keyring update & update as needed
echo "Checking for keyring update before starting full system update.." echo "Checking for keyring update before starting full system update.."
if pacman -Qq blackarch-keyring &> /dev/null; then if pacman -Qq blackarch-keyring &> /dev/null; then