File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 66 upgrade : safe
77- name : Upgrade all installed snaps # noqa no-changed-when
88 command : snap refresh
9+ - name : Purge old snaps
10+ shell : |
11+ set -o pipefail
12+ errors=0
13+ changed=""
14+ while read snapname revision; do
15+ snap remove "$snapname" --revision="$revision"
16+ errors=$((errors + $?))
17+ changed="Snap removed"
18+ done <<< "$(snap list --all | awk '/disabled/{print $1, $3}')"
19+ echo $changed
20+ exit $errors
21+ args :
22+ executable : /bin/bash
23+ register : snapout
24+ changed_when : ' "Snap removed" in snapout.stdout'
925- name : Copy dconf config file
1026 copy :
1127 src : csconfig-ubuntuonly
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ packages_to_remove:
4141 - fonts-tibetan-machine
4242 - fonts-tlwg-*
4343 - fonts-wqy-microhei
44+ - fonts-yrsa-rasa
4445 - hexchat*
4546 - hunspell-de-*
4647 - hunspell-en-au
@@ -60,7 +61,6 @@ packages_to_remove:
6061 - hyphen-pt*
6162 - hyphen-ru
6263 - libreoffice*
63- - linux*oem
6464 - mint-artwork-mate
6565 - mint-backgrounds-sarah
6666 - mint-backgrounds-serena
@@ -79,6 +79,7 @@ packages_to_remove:
7979 - mythes-it
8080 - mythes-pt-pt
8181 - mythes-ru
82+ - openjdk*
8283 - openvpn
8384 - pidgin*
8485 - pix*
@@ -89,5 +90,7 @@ packages_to_remove:
8990 - tomboy
9091 - transmission*
9192 - vlc*
93+ - wbrazilian
9294 - wbritish
95+ - wfrench
9396 - xscreensaver-*
You can’t perform that action at this time.
0 commit comments