This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC2034
|
||||
DESCRIPTION="update doesn't reinstall a package or Flatpak listed in skip-packages"
|
||||
IMAGE=installed
|
||||
TIER=pr
|
||||
|
||||
scenario() {
|
||||
assert_vm "remove Zoom and LibreOffice, and skip them" '
|
||||
set -e
|
||||
sudo flatpak uninstall --system --noninteractive us.zoom.Zoom
|
||||
sudo pacman -Rns --noconfirm libreoffice-fresh
|
||||
mkdir -p ~/.config/coredesktop
|
||||
printf "%s\n" us.zoom.Zoom libreoffice-fresh >> ~/.config/coredesktop/skip-packages'
|
||||
|
||||
cd_update
|
||||
assert_status 0
|
||||
refute_vm "Zoom is still gone" 'flatpak info --system us.zoom.Zoom'
|
||||
refute_vm "LibreOffice is still gone" 'pacman -Qi libreoffice-fresh'
|
||||
}
|
||||
Reference in New Issue
Block a user