diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-02-23 17:43:29 -0800 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-02-23 17:43:29 -0800 | 
| commit | a8e21184857f8d7ddfa06251516b39d301ea4dc2 (patch) | |
| tree | ac3389398480b9ec3ffa018ea025db0505418028 /sh/upd | |
| parent | 1b41d695611c11825ac0e7e1d589a9037516d0f2 (diff) | |
rebuild qt5-styleplugins or qt6-gtk2 if qt5-base or qt6-base update
I can not think a better way to let pacman hook rebuild via aur helper
Diffstat (limited to 'sh/upd')
| -rwxr-xr-x | sh/upd | 8 | 
1 files changed, 8 insertions, 0 deletions
| @@ -150,6 +150,14 @@ pac () {  	# echo 1, printf 1 and yes 1 all works? not sure why  	# aur neovim-nightly-bin has some issue on 12/26/2021? switch to community repo neovim temporary  	#rm -rf ~/.cache/paru/clone/neovim-nightly-bin/ && echo 1 | PARU_PAGER=cat paru --rebuild --redownload neovim-nightly-bin +	if [ "$hostname" = xyzinsp ]; then +		case "$pacpacs" in +			*qt5-base*) echo 1 | PARU_PAGER=cat paru --rebuild qt5-styleplugins;; +		esac +		case "$pacpacs" in +			*qt6-base*) echo 1 | PARU_PAGER=cat paru --rebuild qt6-gtk2;; +		esac +	fi  	pacman -Qqme > "$XDG_CONFIG_HOME/myconf/pacman_Qqme"  	pacman -Qqne > "$XDG_CONFIG_HOME/myconf/pacman_Qqne"  	systemctl list-unit-files --state=enabled > "$XDG_CONFIG_HOME/myconf/sye" | 
