1
0
Fork 0
mirror of synced 2024-12-22 16:18:59 -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>
pkgname=garuda-common-settings
pkgver=2.1.1
pkgver=2.1.2
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
@ -14,6 +14,8 @@ depends=('btrfsmaintenance'
'garuda-browser-settings'
'garuda-hooks'
'garuda-icons'
'ananicy-cpp'
'ananicy-rules-git'
'haveged'
'memavaild'
'nohang'
@ -22,8 +24,7 @@ depends=('btrfsmaintenance'
'profile-sync-daemon'
'zram-generator'
'garuda-bash-config')
optdepends=('ananicy-cpp: Automatically set nice levels for apps'
'irqbalance: Better distribute load between CPUs'
optdepends=('irqbalance: Better distribute load between CPUs'
'performance-tweaks: Tuning for best performance'
'powersave-tweaks: Tuning for lower power usage'
'uresourced: Allocate more ressources for the graphical user')

View file

@ -4,6 +4,7 @@ post_install() {
systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer
systemctl enable garuda-pacman-lock
systemctl enable ananicy-cpp
systemctl enable haveged
systemctl enable memavaild
systemctl enable nohang-desktop
@ -21,6 +22,7 @@ post_upgrade() {
systemctl enable btrfs-scrub.timer
systemctl enable btrfs-trim.timer
systemctl enable garuda-pacman-lock
systemctl enable ananicy-cpp
systemctl enable haveged
systemctl enable memavaild
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"; }
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
echo "Checking for keyring update before starting full system update.."
if pacman -Qq blackarch-keyring &> /dev/null; then