Repository navigation
Commit 8284add
committed
Strip PGDG apt source by content, not by filename
Previous rm -f targeted pgdg.list and postgresql.list explicitly, but
the catmaid/catmaid-standalone image stores the PGDG source under a
different filename (build log still shows apt querying focal-pgdg).
Switch to a find + sed -i that scans every .list and .sources file
under /etc/apt and strips any line referencing apt.postgresql.org or
pgdg. Filename-agnostic, idempotent, and also handles deb822 .sources
files for future upstream rebases.1 parent d9c1498 commit 8284add
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments