summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-08-11 16:26:28 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-08-11 16:26:28 +0800
commit5a80de7d8dc451b68bc20703c190096029cf9da8 (patch)
treeae5839d6d9bc24f53efa7d94dfbfaa11bba05781 /sh
parent9e5f91fb48abaf7fcca7c51149d26eab987609c7 (diff)
pp need update megapixel flatpak
Diffstat (limited to 'sh')
-rwxr-xr-xsh/upd1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/upd b/sh/upd
index e6acc9d..2c6aec1 100755
--- a/sh/upd
+++ b/sh/upd
@@ -221,6 +221,7 @@ pac () {
[ "$hostname" = xyzinsp ] && rustup update
aurout="$(paru --color never -aSu | tee /dev/tty)"
aurpacs="$(echo "$aurout" | grep '^Aur' | cut -d' ' -f3-)"
+ [ "$hostname" = xyzpp ] && sudo flatpak update -y
# /usr/share/libalpm/hooks/rebuild-detector.hook has a line `NeedsTargets` shows it maybe checkrebuild only upgraded packages by `printf 'zoom\nminiconda3' | checkrebuild` instead of maybe check all by `checkrebuild`, so I think query pacman hook will be faster than run another `checkrebuild`
# notes about awk f=1 things see https://git.flylightning.xyz/public_archive_codes/tree/sh/mrt
# about `/^(\(|:|=)/ {f=0}`: